Swiftybase
Function StackMail

Send Email

Send a Single Email to a Recipient

Configuration:

  • Email Request: (Optional) – A prepared email request. If provided, this will be used instead of building a new one.
  • From: (Required) – The sender's email address.
  • To: (Required) – The recipient's email address.
  • Subject: (Optional) – The subject line of the email.
  • BCC: (Optional) – BCC recipients.
  • CC: (Optional) – CC recipients.
  • Reply To: (Optional) – The email address for replies.
  • Template Name: (Optional) – The name of the email template to use (only applicable for providers that support sending emails using a template name instead of raw HTML or text).
  • HTML Content: – The HTML version of the email body.
  • Text Content: – The plain text version of the email body.
  • Tags: (Optional) – Custom tags for categorization and tracking; can be a single tag or a list of tags.
  • Attachment: (Optional) – Email attachments; can be a single attachment or a list of attachments.
  • Headers: (Optional) – Custom email headers.
  • Scheduled At: (Optional) – The date and time to schedule the email.
  • Mail Provider: (Required) – Specifies the registered email provider to use.

Outputs:

Returns a SendEmailResponse instance

On this page