# Gmail + Google Sheets

Send Gmail messages from new sheet rows, log matching emails or import CSV attachments into Google Sheets. Choose the direction and data.

## Send a message, record an email or import a CSV

These workflows use different source fields and worksheet headers. Choose row-driven outgoing mail, an Inbox correspondence register, or a multi-row import from CSV attachments, then prepare that scenario's columns.

- [Send personalized Gmail emails from new Google Sheets rows](https://www.fasthook.io/templates/google-sheets-new-rows-to-gmail.md): Send each newly appended row's To, Subject and Body as one plain-text Gmail email. A filter requires all three values; the recipient comes from the row rather than a fixed address.
- [Log matching Gmail emails in Google Sheets](https://www.fasthook.io/templates/gmail-search-emails-to-google-sheets.md): Log newly received Inbox mail matching subject:"\[Log\]", or your own query. Append Message ID, Sender, Subject, Received and Gmail URL under five existing worksheet headers without copying bodies.
- [Import Gmail CSV attachments into Google Sheets](https://www.fasthook.io/templates/gmail-csv-attachments-to-google-sheets.md): Parse each selected CSV attachment and append its id, name, email, amount and note columns as multiple rows. Prepare matching CSV and worksheet headers and narrow the attachment source before activation.

## Prepare the columns for your selected workflow

1. **Choose the source and fields** For outgoing mail, prepare To, Subject and Body in row 1. For incoming mail, review the Gmail search. For CSV import, restrict the attachment trigger to intended reports and use id, name, email, amount and note source headers.
2. **Connect the destination** For outgoing mail, select the sending Gmail account and restrict who can edit its source sheet. For email logging, prepare Message ID, Sender, Subject, Received and Gmail URL in A–E; for CSV, prepare id, name, email, amount and note in A–E.
3. **Check one complete fictional input** Activate after reviewing mappings. For outgoing mail, wait for the baseline then append a complete row addressed to yourself. For logging or CSV, receive a matching test email or attachment and compare the resulting rows. Check Gmail Sent for actual sends.

## Questions about Gmail and spreadsheet workflows

### How do I choose between the three workflows?

Use row-driven mail when the sheet should supply a recipient and message. Use the correspondence register to keep email metadata and a Gmail link without the body or files. Use CSV import when attachment contents should become multiple rows. The two incoming workflows need existing worksheet headers; they do not create those headers for you.

### Will completing a skipped email row later send it?

No. The outgoing source observes newly appended rows after its baseline, not later edits. The filter checks that To, Subject and Body are present but does not validate the address or hold skipped rows as drafts. Append a new complete row after checking Sent. Mail is plain text without HTML, attachments, Cc, Bcc or an automatic signature.

### Does the CSV trigger accept only CSV files, and is a Loop needed?

The prepared attachment trigger is not inherently CSV-only, so narrow the Gmail search or label filters before activation. Formatter reads CSV headers and produces column lists, which the Sheets action writes together without a separate Loop. Source and destination headers both matter, and mapped list lengths must agree. Multiple eligible attachments can produce separate imports.

### Will repeated messages or CSV IDs update existing rows?

No. The incoming workflows append without an existing-message or row-ID lookup. Matching new email replies can add separate register rows, and a rerun can import the same CSV again. The outgoing workflow can resend after a rerun or ambiguous failure. Gmail limits apply; keep sheet headers and row order stable.

### Who can read the copied data or control outgoing mail?

Register readers can see email senders and subjects; CSV readers can see imported names and email addresses. RAW input preserves formula-looking values as text. Gmail conversation links still require mailbox access. For outgoing mail, each row controls its own To, Subject and Body, so only people allowed to send from that mailbox should edit the source worksheet.

## Connected apps

- [Gmail Integrations](https://www.fasthook.io/apps/gmail/integrations.md)
- [Google Sheets Integrations](https://www.fasthook.io/apps/google-sheets/integrations.md)

## Related app pairs

- [Gmail + Airtable](https://www.fasthook.io/apps/airtable/integrations/gmail.md)
- [Gmail + ClickUp](https://www.fasthook.io/apps/clickup/integrations/gmail.md)
- [Gmail + Dropbox](https://www.fasthook.io/apps/dropbox/integrations/gmail.md)
- [Gmail + Shopify](https://www.fasthook.io/apps/shopify/integrations/gmail.md)
- [Gmail + Slack](https://www.fasthook.io/apps/slack/integrations/gmail.md)
- [Gmail + GitHub](https://www.fasthook.io/apps/github/integrations/gmail.md)
- [Gmail + Google Drive](https://www.fasthook.io/apps/gmail/integrations/google-drive.md)
- [Gmail + Google Calendar](https://www.fasthook.io/apps/google-calendar/integrations/gmail.md)
