Cakemail icon

Cakemail

Interact with Cakemail API

Email → Submit

AI-generated

Summary

Submit an email to be sent with specified sender and recipient details.

Inputs

  • accountId — Optional: Specify an account ID for multi-tenant operations. If not provided, uses the authenticated account.
  • senderEmail (required) — Sender email address.
  • senderName — Sender name.
  • recipientEmail (required) — Recipient email address.
  • recipientName — Recipient name.
  • emailSubject (required) — Email subject.
  • htmlBody — HTML content of the email.
  • textBody — Plain text content of the email.
  • emailAdditionalFields — Additional fields like tags and tracking preferences.

Output shape

no body — success/failure only

If successful, the email is submitted for sending. Error messages may be returned in case of failure.

Examples

Example 1: Submitting a newsletter

Provide sender, recipient, subject, HTML body, and optional tags for tracking.

Example 2: Sending a one-off promotional email

Fill in sender details, recipient information, subject line, and email body (HTML/Text).

Discussion