JMAP icon

JMAP

Interact with JMAP email servers (Apache James, Twake Mail, etc.)

Email → Send

AI-generated

Summary

Send an email through a JMAP-compatible mail server using a specified sender identity and recipient addresses.

Inputs

  • Authentication — Select the authentication method to use: OAuth2, Basic Auth, or Bearer Token.
  • From (required) — Choose the sender identity to send the email from, loaded from your JMAP identities.
  • To (required) — Specify one or more recipient email addresses, separated by commas.
  • Subject (required) — Enter the subject line of the email.
  • Email Type — Select the format of the email body: plain text or HTML.
  • Message (required) — Provide the content of the email body according to the selected email type.
  • Options — Optionally add CC and BCC recipients, each as comma-separated email addresses.

Output shape

a single response object with the email submission result from the server

The output contains the raw JMAP response for the email submission, indicating success or any errors; the operation throws an error if sending fails.

Examples

Example 1: Send a simple text email to multiple recipients

Set 'From' to a valid identity, 'To' with recipient emails, 'Subject', 'Email Type' as 'Text', and input a plain text 'Message'. Optionally add CC or BCC addresses.

Links

Discussion