atproto blogging
1{
2 "lexicon": 1,
3 "id": "com.atproto.admin.sendEmail",
4 "defs": {
5 "main": {
6 "type": "procedure",
7 "description": "Send email to a user's account email address.",
8 "input": {
9 "encoding": "application/json",
10 "schema": {
11 "type": "object",
12 "required": [
13 "recipientDid",
14 "content",
15 "senderDid"
16 ],
17 "properties": {
18 "comment": {
19 "type": "string",
20 "description": "Additional comment by the sender that won't be used in the email itself but helpful to provide more context for moderators/reviewers"
21 },
22 "content": {
23 "type": "string"
24 },
25 "recipientDid": {
26 "type": "string",
27 "format": "did"
28 },
29 "senderDid": {
30 "type": "string",
31 "format": "did"
32 },
33 "subject": {
34 "type": "string"
35 }
36 }
37 }
38 },
39 "output": {
40 "encoding": "application/json",
41 "schema": {
42 "type": "object",
43 "required": [
44 "sent"
45 ],
46 "properties": {
47 "sent": {
48 "type": "boolean"
49 }
50 }
51 }
52 }
53 }
54 }
55}