> For the complete documentation index, see [llms.txt](https://docs.xenioo.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.xenioo.com/actions-and-operations/integration/xenioo.bots.actions.base.integrations.sendgridmailaction.md).

# SendGrid Mail Action

Thia action will send a mail message using your SendGrid service account. You can either input the mail body directly or specify a transactional template id.

![](/files/-LhWIWMiYuCFIIgu94ip)

### Settings

The action uses the following settings:

| Setting     | Description                                                                                       | [Parsed](/actions-and-operations/dynamic-parsing.md) |
| ----------- | ------------------------------------------------------------------------------------------------- | ---------------------------------------------------- |
| API Key     | The API key associated to your SendGrid account                                                   | :white\_check\_mark:                                 |
| From        | The sender email address. Must be one of the addresses you've validated on your SendGrid account. | :white\_check\_mark:                                 |
| To          | The recipients of the message.                                                                    | :white\_check\_mark:                                 |
| Mode        | Choose to send a custom message or an existing transactional template                             | :no\_entry:                                          |
| Subject     | The subject of the mail message                                                                   | :white\_check\_mark:                                 |
| Body        | The full body of the mail message                                                                 | :white\_check\_mark:                                 |
| Template Id | The id of the transactional template you wish to use.                                             | :white\_check\_mark:                                 |

### Remarks

Multiple addresses can be specified in the To field by separating each one with a semicolon.

The Body setting can contain full html formatting. Different mail clients may choose to render custom html differently.

Both Body and Template contents are [fully parsed](/actions-and-operations/dynamic-parsing.md) by Xenioo at runtime.

### Trigger

This action does not trigger any event.

### Variables

This action does not produce any variable.

### Availability

Channel specific availability follows the table below:

| Channel          | Availability     |
| ---------------- | ---------------- |
| Facebook         | Fully Available. |
| WhatsApp         | Fully Available. |
| Telegram         | Fully Available. |
| Web              | Fully Available. |
| Alexa            | Fully Available. |
| Google Assistant | Fully Available. |
| Slack            | Fully Available. |
| API              | Fully Available. |

This action can be used only inside interactions and not as child of other actions. This action requires a [Premium Account](/basic-concepts/your-account/upgrading-from-free.md) to be used on a live chatbot.
