Gmail Custom icon

Gmail Custom

Interact with Gmail API with auto-refreshing token

Actions12

Message → Send

AI-generated

Summary

Send an email message from the authenticated Gmail account with specified recipients, subject, and body, optionally including CC, BCC, and sender name fields.

Inputs

  • Authentication (required) — Choose authentication method: OAuth refresh token with auto-refresh or manual bearer token.
  • To (required) — Comma-separated recipient email addresses.
  • Subject (required) — Subject line of the email message.
  • Message (required) — Body content of the email message.
  • Additional Fields — Optional fields including CC addresses, BCC addresses, and sender's display name.
  • Options — Optional parameters to override the refresh token for authentication.

Output shape

A single record containing the response from Gmail API for the sent message.

The output includes the full JSON response of the sent message. If sending multiple items, outputs will be returned as separate JSON objects in sequence. Errors will halt execution unless 'continueOnFail' is enabled.

Examples

Example 1: Send an email with CC and custom sender name

Provides recipients in 'To' and 'CC' fields, sets the subject and message body, and specifies a 'From Name' to display.

Discussion