# Connect Gatsby to Gmail and automate your tasks

## Why integrate Gatsby with Gmail

The Gatsby to Gmail integration helps you sync data, automate manual tasks, and keep your stack aligned — without writing code.

### Add Instagram subscribers to Shopify as customers automatically

When a follower subscribes through a Gatsby Instagram campaign, MESA creates or updates their record in Shopify. Your store knows about the customer from the moment they raise their hand on Instagram, before they ever place an order.

### Trigger a welcome flow the moment someone subscribes via Instagram

When a new subscriber joins through a Gatsby DM campaign, MESA sends the signal to Klaviyo and starts the right onboarding sequence. Your first impression lands while the engagement is still warm, not after a sync cycle.

### Tag Shopify customers based on which Gatsby campaign acquired them

When a subscriber joins through a specific Gatsby campaign — a giveaway, a product launch, a keyword trigger — MESA applies the corresponding Shopify tag to their customer record. Your segments reflect how each customer was acquired without anyone managing attribution manually.

### Send the right email at the right moment

When an order ships, a customer churns, or inventory runs low, MESA triggers the right Gmail message automatically. No missed sends, no manual follow-up queues.

### Keep your team in the loop on what matters

MESA sends internal Gmail alerts when orders hit thresholds, fulfillment stalls, or tasks need attention. Your team acts on real data, not status update requests.

### Log every outbound email as a record

Every Gmail message MESA sends gets written back to your spreadsheet, CRM, or order notes. You always know what was sent, when, and to whom.

## Build any Gatsby and Gmail automation

MESA helps you connect apps to automate repetitive tasks. A trigger is an event that starts a workflow, and actions are the steps that occur when it's running.

###### Receive Email

Trigger a workflow when an email is received.

- Thread ID
- From
- From Name
- To
- Cc
- Bcc
- Reply To
- Subject
- Message
- Mime Version
- X Mailer
- Message ID
- Snippet
- Date
- ID

###### Add Label to Email

Add a label to an email.

- ID
- Thread ID
- Label Ids

###### Archive Email

Archive an email.

- ID
- Thread ID
- Label Ids

###### Forward Email

Forward an email.

- ID
- Thread ID

###### Get List of Email's Threads

Obtain a list of an email's threads.

- ID
- History ID

###### Get List of Emails

Obtain a list of emails.

- ID
- Thread ID
- From
- From Name
- To
- Cc
- Bcc
- Reply To
- Subject
- Message
- Snippet
- Date
- Mime Version
- X Mailer
- Message ID

###### Get List of User's Labels

Obtain a list of a user's labels.

- ID
- Name
- Type
- Message List Visibility
- Label List Visibility
- Messages Total
- Messages Unread
- Threads Total
- Threads Unread

###### Mark Email as Read

Mark an email as read.

- ID
- Thread ID
- Label Ids

###### Remove Label from Email

Remove a label from an email.

- ID
- Thread ID
- Label Ids

###### Retrieve User Profile

Grab all details about a user's profile.

- Email Address
- Messages Total
- Threads Total
- History ID

###### Send Email

Send a new email.

- ID
- Thread ID

###### Create Contact

Create a contact.

- Email
- Instagram Handle
- First Name
- Last Name

## Expert support included

### Free workflow setup

We'll build your first workflow with you live. Most merchants walk away with automation saving 5+ hours/week.

### Fast response times

Average first response: Same day. Critical issues: Immediate escalation. Complex builds: 24-48 hours.

### Managed services available

Personalized workflow reviews, and quarterly check-ins to identify new opportunities as your business grows.

### Real humans, always

Chat with real automation experts (not bots). Email support 9am-5pm PST. Google Meet sessions for complex workflows.

## Integrate Gatsby with Gmail today.

Enjoy a 7-day free trial. Get your first workflow in minutes.
