{"command":{"effect":"write","timeoutSeconds":30,"inputSchema":{"type":"object","description":"Send a raw RFC 5322 (MIME) email for the specified account. Provide the full MIME message plus the SMTP envelope (from and recipients).","properties":{"path":{"type":"object","properties":{"account_id":{"description":"Identifier of the account.","type":"string"}},"required":["account_id"],"additionalProperties":false},"body":{"$ref":"#/definitions/email-sending_SendRawRequest"}},"required":["path","body"],"additionalProperties":false,"definitions":{"email-sending_SendRawRequest":{"type":"object","properties":{"from":{"description":"Sender email address.","type":"string","pattern":"^[\\x20-\\x7E]+$","examples":["sender@example.com"]},"mime_message":{"description":"The full MIME-encoded email message. Should include standard RFC 5322 headers such as From, To, Subject, and Content-Type. The from and recipients fields in the request body control SMTP envelope routing; the From and To headers in the MIME message control what the recipient's email client displays.","type":"string","examples":["From: sender@example.com\r\nTo: recipient@example.com\r\nSubject: Hello\r\nContent-Type: text/plain\r\n\r\nHello, World!"]},"recipients":{"description":"List of recipient email addresses.","type":"array","items":{"pattern":"^[\\x20-\\x7E]+$","type":"string"},"examples":[["recipient@example.com"]]}},"additionalProperties":false,"required":["from","recipients","mime_message"],"examples":[{"from":"sender@example.com","mime_message":"From: sender@example.com\r\nTo: recipient@example.com\r\nSubject: Hello\r\nContent-Type: text/plain\r\n\r\nHello, World!","recipients":["recipient@example.com"]}]}}},"name":"Send a raw MIME email","id":"cloudflare.email-sending-account-send-raw-message","example":{"path":{"account_id":"example"},"body":{"from":"sender@example.com","mime_message":"From: sender@example.com\r\nTo: recipient@example.com\r\nSubject: Hello\r\nContent-Type: text/plain\r\n\r\nHello, World!","recipients":["recipient@example.com"]}},"maxRequests":1,"summary":false}}