> For the complete documentation index, see [llms.txt](https://docs.airdev.co/events-platform-template/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.airdev.co/events-platform-template/general-information/functionality/emails.md).

# Emails

Your app will not use Bubble’s native “send email” functionality, but instead use our own sendGrid API workflow that generates a nicely-formatted HTML email from the system.

To start using this feature, please set up your SendGrid email by following [this step in our Quickstart Guide](https://docs.airdev.co/canvas/quickstart-guide#step-2-setting-up-your-email).

![send\_email API workflow in Canvas: App Foundation template](/files/-LaSPYItNyqcAPmZhWU1)

To send a nicely-formatted HTML email, go to the `Workflows` tab > select `Custom Events` > Select `Schedule API workflow` > select `send_email` from the API workflow dropdown and set the scheduled date to `Current date/time`.

![](/files/-LaSPYIvk5fazlvPoS7g)

Fill out the email content in the additional fields.

* **from\_name (required)** - *\*\**&#x53;ender's name to display
* **from\_email (required)** - Sender's email
* **reply\_to\_email (optional)** - Sender's alternative email (if reply to email is different from from\_email)
* **to\_emails (required)** - Receiver's email (can be a comma separated list)
* **cc\_emails (optional)** - Carbon copy emails (can be a comma separated list)
* **bcc\_emails (optional)** - Blind carbon copy emails (can be a comma separated list)
* **subject (required)** - Email title / subject
* **body (required)** - Write `<br>` for a line break (since the parameter is a single line). Dynamic text (e.g., from a multiline input) will handle line breaks automatically.
  * Image in the body: `<img src='https:image’s url’ width=‘518’/>`
  * Link in the body:  `<a href="link url">Words to be hyperlinked</a>`
* **button\_text (optional)** - By default, there will be no button added to the email. However, if this field isn't empty, an action button will be added.
* **button\_link (optional)** - The link which the button is linked to
* **attachment (optional)** - If this is used, the file will be sent along with the email
* **button\_color (automatically populated)** - This is added from the field `Primary Color` on the Website object
* **signature (automatically populated)** - By default this will be `The [app name] team` but you can add a different text in this field to override it
* **logo** - By default, this is added from the field `Logo light` on the `Website` object, but you can also add a different logo in the API workflow parameter to override it.&#x20;


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.airdev.co/events-platform-template/general-information/functionality/emails.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
