> For the complete documentation index, see [llms.txt](https://docs.codemash.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.codemash.io/dashboard/notifications/email/integrations/twilio-sendgrid.md).

# Twilio Sendgrid

Webhooks allow you to get more information on what happened with each email. Without setting up a webhook our system will only display whether your emails were sent to a provider or not. To know if emails reached their respective recipients if the recipients opened those emails, and more, you need to register a webhook.

All of our given email providers offer webhook functionality. The following shows how to set up webhooks using any of the providers.

## SendGrid

1. Sign-in to your SendGrid account.
2. Go to **Settings > Mail Settings**.
3. Open **Event Notification** expandable.
4. Here make sure that the switch on the left is set to **ON**. In a field **HTTP POST URL** add the following URL **`https://api.codemash.io/notifications/email/sendgrid/events`**.
5. Below check the boxes of event types that you want to receive.

![SendGrid event notification setup](/files/-M-H4SvOgsF3hmiXix_n)

{% hint style="warning" %}
**Click** and **open** events will not be tracked just yet. For that, you need to enable open and click tracking.

1. Go to **Settings > Tracking**.
2. Here expand **Click Tracking** and **Open Tracking** and switch them to **ON**.
   {% endhint %}
