# Gmail

> Let agents, workflows, and Ally send email from your own Google address.

Source: https://docs.getlinkai.com/integrations/gmail

Gmail connects your Google address to Link AI so agents, [Workflows](https://docs.getlinkai.com/agents/workflows), and [Ally](https://docs.getlinkai.com/getting-started/ally) can send follow-ups, outreach, and notifications as you. Sent mail lands in your Gmail **Sent** folder, and replies arrive in Gmail as usual.

**Note:**
To have an agent answer email, turn on **Email (Gmail)** on the agent's **Deploy** tab. Those threads appear in the [Inbox](https://docs.getlinkai.com/products/inbox) under **Gmail**.

## What you can do

- **Send as you**: workflows and agents send from the connected Gmail address.
- **Answer email**: turn Gmail on as a channel so an agent replies to incoming threads.
- **Ally**: Ally can draft or send from your Gmail address, with your confirmation.
- **Workflows**: use **Send Email via Gmail** after any trigger.

## Before you start

- A Google account you can send from.
- Permission requested: send email on your behalf.

Google Calendar and Google Drive are separate connections. Connecting Gmail does not enable them.

## Connect

### Open the integration
Open **Integrations** → **Gmail** and click **Connect**.

### Approve access
Choose the Google account and approve send access.

You should return to Link AI with Gmail connected.

## Use it in an agent or workflow

- **In a workflow**: add **Send Email via Gmail** and set `to`, `subject`, and `body`. Use variables such as `{{customerEmail}}`.
- **On an agent**: choose the Gmail send-as address if more than one is available.

For example: when a [form](https://docs.getlinkai.com/products/smart-forms) is submitted, wait 10 minutes, then send a thank-you from your Gmail address.

## Troubleshooting

**Send fails**
Reconnect Gmail and confirm the Google account still has access. Google Workspace admins sometimes restrict third-party send.

**Wrong From address**
Pick the send-as address on the agent or in the workflow step.

**Replies don't show up in Link AI**
Check that **Email (Gmail)** is on in the agent's **Deploy** tab.

## Next steps

**[Workflows](https://docs.getlinkai.com/agents/workflows)**:
Send Gmail after any trigger.

**[Google Calendar](https://docs.getlinkai.com/integrations/google-calendar)**:
Add bookings and Meet links to your calendar.

**[Outlook](https://docs.getlinkai.com/integrations/outlook)**:
Send and receive Microsoft mail.

**[Ally](https://docs.getlinkai.com/getting-started/ally)**:
Ask Ally to draft and send email for you.
