Processes and dispatches an email. Supports plain text and encrypted emails. Attachments can be provided by ID, optionally zipped together before sending. Encrypted emails are stored and a notification link is sent.
The email address of the recipient
The subject line of the email
The main content/body of the email
The email address of the sender
Optional array of file attachment IDs to include with the email
Whether to compress all attachments into a single zip file before sending
Whether to encrypt the email content and send a secure link instead. Note that encrypted emails do not support attachments.
When true, files are attached directly to the email instead of as links in the body. By default, files are sent as links in the body that require authentication with a Sample account, but files attached directly will not require authentication. This is useful for recipients without system access.
Indicates the email request was accepted and processed (or queued for processing).
Indicates the email request was accepted and processed (or queued for processing).