com.atproto.admin.sendEmail

Send email to a user's account email address.

Details · procedure
Kindprocedure
Authorityadmin.atproto.com
Indexed
cid bafyreig7vffo7s4diefuoylvl6crosfo5mcc74hlnpkd24fb3xs2wyewbi

Checks

Valid
  • unlimited-string defs.main.input.schema.properties.commentNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.main.input.schema.properties.contentNo maxLength, maxGraphemes or format limits this string.
  • unlimited-string defs.main.input.schema.properties.subjectNo maxLength, maxGraphemes or format limits this string.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Send email to a user's account email address.",
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "comment": {
              "description": "Additional comment by the sender that won't be used in the email itself but helpful to provide more context for moderators/reviewers",
              "type": "string"
            },
            "content": {
              "type": "string"
            },
            "recipientDid": {
              "format": "did",
              "type": "string"
            },
            "senderDid": {
              "format": "did",
              "type": "string"
            },
            "subject": {
              "type": "string"
            }
          },
          "required": [
            "recipientDid",
            "content",
            "senderDid"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "sent": {
              "type": "boolean"
            }
          },
          "required": [
            "sent"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "com.atproto.admin.sendEmail",
  "lexicon": 1
}