> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Send Email Via Gmail

Sends an email message via Gmail's API.

<Note>
  External Documentation

  To learn more, visit the [Gmail documentation](https://developers.google.com/gmail/api/reference/rest/v1/users.messages/send).
</Note>

## Basic Parameters

<div className="integrations-table">
  | Parameter          | Description                                                                                                                                                                                                                                                                                                                                                 |
  | ------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Attachment Files   | A comma-separated list of file identifiers for the attachment.<br />A file identifier represents a file created or referenced earlier in the workflow (for example, from a file action or another step that produces a file).<br />See [Using with Files in Workflows](https://docs.blinkops.com/docs/workflows/building-workflows/files) for more details. |
  | Bcc                | A comma-separated list of emails for BCC recipients of the message.                                                                                                                                                                                                                                                                                         |
  | CC                 | A comma-separated list of email for CC recipients of the message.                                                                                                                                                                                                                                                                                           |
  | Content            | The body of the mail.<br /><br />Blink supports `Content-Type Detection`. It can identify the type of content being entered (text, HTML, CSV, etc.) automatically.                                                                                                                                                                                          |
  | Content            | The body of the mail.<br /><br />Blink supports `Content-Type Detection`. It can identify the type of content being entered (text, HTML, CSV, etc.) automatically.                                                                                                                                                                                          |
  | Content Field Type | The type of the content to send. Can be either regular text or rich text.                                                                                                                                                                                                                                                                                   |
  | From User ID       | The email of the user from which to send the email.<br />The special value 'me' can be used if the connection is OAuth to identify as the authenticated user.                                                                                                                                                                                               |
  | Subject            | This is the subject of the mail.                                                                                                                                                                                                                                                                                                                            |
  | To                 | A comma-separated list of email recipients for the message.                                                                                                                                                                                                                                                                                                 |
</div>

## Advanced Parameters

<div className="integrations-table">
  | Parameter               | Description                                                                                                                                                                                                                                                                                                                  |
  | ----------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | Delegated User Override | Perform the action on behalf of another user, overriding the delegated user defined in the connection.<br /><br />If not specified, the delegated user is the one provided in the connection.<br /><br />Has no effect when using an OAuth connection.<br /><br />NOTE: the connection details are not edited by this input. |
</div>

## Example Output

```json theme={"dark"}
{
	"id": "1879ef5cc8e70395",
	"threadId": "1879ef5cc8e70395",
	"labelIds": [
		"UNREAD",
		"SENT",
		"INBOX"
	]
}
```
