# Connect Email to Gorgias and automate your tasks

## Why integrate Email with Gorgias

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

### Trigger customer alerts the moment something changes

When a Shopify event fires, MESA sends a targeted email to the right person — customer, teammate, or vendor — with order details, tracking info, or status updates pulled directly from the workflow.

### Turn inbound emails into workflow triggers

Every email sent to your custom MESA address becomes a workflow trigger. Subject line, sender, and message body pass through as variables, so you can route, log, or respond to inbound email automatically.

### Send personalized transactional emails at scale

Each email MESA sends can include customer names, order details, and product data pulled directly from the workflow. Recipients get accurate, relevant communication without any manual drafting.

### Give your support team full Shopify context on every ticket

When a customer reaches out in Gorgias, MESA pulls their Shopify order history, tags, and customer details into the ticket automatically. Your team responds with the full picture without switching between tools to find it.

### Create and update Shopify customer records from Gorgias ticket activity

When a key detail is captured or a resolution is logged in Gorgias, MESA writes it to the corresponding Shopify customer record. Your store and your support platform stay in sync without anyone reconciling them manually after every interaction.

### Trigger Gorgias tickets from Shopify order and fulfillment events

When an order ships, a delivery is delayed, or a return is filed in Shopify, MESA opens or updates the right Gorgias ticket automatically. Your support team gets ahead of customer questions before they arrive rather than reacting after a complaint is filed.

## Build any Email and Gorgias 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.

###### Customer Created  
Starts when a customer is created.  
- ID  
- Channels  
- Created Datetime  
- Data  
- Email  
- External ID  
- Firstname  
- Integrations  
- Language  
- Lastname  
- Name  
- Timezone  
- Updated Datetime

###### Customer Updated  
Starts when a customer is updated.  
- ID  
- Channels  
- Created Datetime  
- Data  
- Email  
- External ID  
- Firstname  
- Integrations  
- Language  
- Lastname  
- Name  
- Timezone  
- Updated Datetime

###### Ticket Created  
Starts when a ticket is created.  
- ID  
- Assignee User  
- Channel  
- Closed Datetime  
- Created Datetime  
- Customer  
- Events  
- External ID  
- From Agent  
- Is Unread  
- Language  
- Last Message Datetime  
- Last Received Message Datetime  
- Messages  
- Meta  
- Opened Datetime  
- Reply Options  
- Satisfaction Survey  
- Snooze Datetime  
- Spam  
- Status  
- Subject  
- Tags  
- Trashed Datetime  
- Updated Datetime  
- Via  
- Uri

###### Ticket Updated  
Starts when a ticket is updated.  
- ID  
- Assignee User  
- Channel  
- Closed Datetime  
- Created Datetime  
- Customer  
- Events  
- External ID  
- From Agent  
- Is Unread  
- Language  
- Last Message Datetime  
- Last Received Message Datetime  
- Messages  
- Meta  
- Opened Datetime  
- Reply Options  
- Satisfaction Survey  
- Snooze Datetime  
- Spam  
- Status  
- Subject  
- Tags  
- Trashed Datetime  
- Updated Datetime  
- Via  
- Uri

###### Receive Email  
Trigger a workflow by sending an email to a custom MESA email address.  
- To  
- From  
- From Name  
- From Email  
- Subject  
- Message Text  
- Message HTML  
- Message Stripped Text  
- Message Stripped HTML  
- Stripped Signature

###### Create Customer  
Create a customer.  
- Channels  
- Data  
- Email  
- External ID  
- Language  
- Name  
- Timezone

###### Create Job  
Schedule the execution of a job to run.  
- Meta  
- Params  
- Scheduled Datetime  
- Type

###### Create Satisfaction Survey  
Create a new satisfaction survey.  
- Body Text  
- Created Datetime  
- Customer ID  
- Meta  
- Score  
- Scored Datetime  
- Sent Datetime  
- Should Send Datetime  
- Ticket ID

###### Create Tag  
Create a tag.  
- Decoration  
- Description  
- Name

###### Create Ticket  
Create a ticket.  
- Assignee Team  
- Assignee User  
- Channel  
- Closed Datetime  
- Created Datetime  
- Customer  
- External ID  
- From Agent  
- Language  
- Last Message Datetime  
- Last Received Message Datetime  
- Messages  
- Meta  
- Opened Datetime  
- Snooze Datetime  
- Spam  
- Status  
- Subject  
- Tags  
- Trashed Datetime  
- Updated Datetime  
- Via

###### Create Ticket Message  
Create a message in a ticket.  
- Attachments  
- Body HTML  
- Body Text  
- Channel  
- Created Datetime  
- External ID  
- Failed Datetime  
- From Agent  
- Message ID  
- Receiver  
- Sender  
- Sent Datetime  
- Source  
- Subject  
- Via

###### Create User  
Create a new user.  
- Bio  
- Email  
- External ID  
- Meta  
- Name  
- Roles

###### Delete Customer  
Remove an existing customer.

###### Delete Job  
Cancel a job at any time but keep in mind that actions that have been executed will not be reverted.

###### Delete Tag  
Remove a tag.

###### Delete Ticket  
Remove a ticket.

###### Delete Ticket's Message  
Remove a message from a ticket.

###### Delete User  
Remove an user.

###### Get List of Customers  
Obtain a list of customers.  
- ID  
- Created Datetime  
- Data  
- Email  
- External ID  
- Firstname  
- Language  
- Lastname  
- Name  
- Timezone  
- Updated Datetime

###### Get List of Events  
Obtain a list of events.  
- ID  
- Context  
- Created Datetime  
- Data  
- Object ID  
- Object Type  
- Type  
- User ID  
- Uri

###### Get List of Jobs  
Obtain a list of jobs.  
- ID  
- Cancel Requested Datetime  
- Cancelled Datetime  
- Created Datetime  
- Ended Datetime  
- Failed Datetime  
- Info  
- Locked Datetime  
- Meta  
- Params  
- Scheduled Datetime  
- Started Datetime  
- Status  
- Type  
- User ID  
- Uri

###### Get List of Satisfaction Surveys  
Obtain a list of satisfaction surveys.  
- ID  
- Body Text  
- Created Datetime  
- Customer ID  
- Meta  
- Score  
- Scored Datetime  
- Sent Datetime  
- Should Send Datetime  
- Ticket ID  
- Uri

###### Get List of Tags  
Obtain a list of tags.  
- ID  
- Created Datetime  
- Decoration  
- Deleted Datetime  
- Description  
- Name  
- Usage  
- Uri

###### Get List of Ticket's Messages  
Obtain a list of all messages of a ticket.  
- ID  
- Attachments  
- Body HTML  
- Body Text  
- Channel  
- Created Datetime  
- External ID  
- Failed Datetime  
- From Agent  
- Integration ID  
- Last Sending Error  
- Message ID  
- Receiver  
- Rule ID  
- Sender  
- Sent Datetime  
- Source  
- Stripped HTML  
- Stripped Text  
- Subject  
- Ticket ID  
- Via  
- Uri

###### Get List of Tickets  
Obtain a list of tickets.  
- ID  
- Assignee User  
- Channel  
- Closed Datetime  
- Created Datetime  
- Customer  
- Excerpt  
- External ID  
- From Agent  
- Integrations  
- Is Unread  
- Language  
- Last Message Datetime  
- Last Received Message Datetime  
- Messages Count  
- Meta  
- Opened Datetime  
- Requester  
- Snooze Datetime  
- Status  
- Subject  
- Tags  
- Updated Datetime  
- Via  
- Uri

###### Get List of Users  
Obtain a list of users.  
- ID  
- Active  
- Bio  
- Created Datetime  
- Deactivated Datetime  
- Email  
- External ID  
- Firstname  
- Lastname  
- Meta  
- Name  
- Roles  
- Updated Datetime

###### Merge Tags  
Merge one or more tags into another tag. Source tags will be merged into the destination tag and then deleted.  
- ID  
- Created Datetime  
- Decoration  
- Deleted Datetime  
- Description  
- Name  
- Usage  
- Uri

###### Retrieve Account  
Grab your account details.  
- Created Datetime  
- Deactivated Datetime  
- Domain  
- Settings  
- Status

###### Retrieve Customer  
Grab all details about a customer.  
- ID  
- Channels  
- Created Datetime  
- Data  
- Email  
- External ID  
- Firstname  
- Integrations  
- Language  
- Lastname  
- Name  
- Timezone  
- Updated Datetime

###### Retrieve Event  
Grab all details about an event.  
- ID  
- Context  
- Created Datetime  
- Data  
- Object ID  
- Object Type  
- Type  
- User ID  
- Uri

###### Retrieve Job  
Grab all details about a job.  
- ID  
- Cancel Requested Datetime  
- Cancelled Datetime  
- Created Datetime  
- Ended Datetime  
- Failed Datetime  
- Info  
- Locked Datetime  
- Meta  
- Params  
- Scheduled Datetime  
- Started Datetime  
- Status  
- Type  
- User ID  
- Uri

###### Retrieve Satisfaction Survey  
Grab all details about a satisfaction survey.  
- ID  
- Body Text  
- Created Datetime  
- Customer ID  
- Meta  
- Score  
- Scored Datetime  
- Sent Datetime  
- Should Send Datetime  
- Ticket ID  
- Uri

###### Retrieve Tag  
Grab all details about a tag.  
- ID  
- Created Datetime  
- Decoration  
- Deleted Datetime  
- Description  
- Name  
- Usage  
- Uri

###### Retrieve Ticket  
Grab all details about a ticket.  
- ID  
- Assignee User  
- Channel  
- Closed Datetime  
- Created Datetime  
- Customer  
- Events  
- External ID  
- From Agent  
- Is Unread  
- Language  
- Last Message Datetime  
- Last Received Message Datetime  
- Messages  
- Meta  
- Opened Datetime  
- Reply Options  
- Satisfaction Survey  
- Snooze Datetime  
- Spam  
- Status  
- Subject  
- Tags  
- Trashed Datetime  
- Updated Datetime  
- Via  
- Uri

###### Retrieve Ticket Message  
Grab all details about a ticket's message.  
- ID  
- Attachments  
- Body HTML  
- Body Text  
- Channel  
- Created Datetime  
- External ID  
- Failed Datetime  
- From Agent  
- Integration ID  
- Last Sending Error  
- Message ID  
- Receiver  
- Rule ID  
- Sender  
- Sent Datetime  
- Source  
- Stripped HTML  
- Stripped Text  
- Subject  
- Ticket ID  
- Via  
- Uri

###### Retrieve User  
Grab all details about an user.  
- ID  
- Active  
- Bio  
- Created Datetime  
- Deactivated Datetime  
- Email  
- External ID  
- Firstname  
- Lastname  
- Meta  
- Name  
- Roles  
- Updated Datetime

###### Update a Customer  
Modify a customer's details  
- Channels  
- Data  
- Email  
- External ID  
- Language  
- Name  
- Timezone

###### Update Job  
Modify a job.  
- Meta  
- Params  
- Scheduled Datetime  
- Status

###### Update Satisfaction Survey  
Modify a satisfaction survey's details.  
- Body Text  
- Created Datetime  
- Customer ID  
- Meta  
- Score  
- Scored Datetime  
- Sent Datetime  
- Should Send Datetime  
- Ticket ID

###### Update Tag  
Modify a tag's details.  
- Decoration  
- Description  
- Name

###### Update Ticket  
Modify a ticket's details.  
- Assignee Team  
- Assignee User  
- Channel  
- Closed Datetime  
- Customer  
- External ID  
- From Agent  
- Is Unread  
- Language  
- Last Message Datetime  
- Last Received Message Datetime  
- Meta  
- Opened Datetime  
- Snooze Datetime  
- Spam  
- Status  
- Subject  
- Tags  
- Trashed Datetime  
- Updated Datetime  
- Via

###### Update Ticket's Message  
Modify a message in a ticket.  
- Attachments  
- Body HTML  
- Body Text  
- Channel  
- External ID  
- Failed Datetime  
- From Agent  
- Message ID  
- Receiver  
- Sender  
- Sent Datetime  
- Source  
- Subject  
- Via

###### Update User  
Modify an user's information  
- Bio  
- Email  
- External ID  
- Meta  
- Name  
- New Password  
- Old Password  
- Roles

###### Upload File  
Upload a file.  
- Size  
- Name  
- Content Type  
- URL

###### Send Email  
Send an Email to specified recipient(s).
