Give new AgentMail topics a Gmail label
Turn a new project or topic in AgentMail into a Gmail label you can use to organize related work.
Trigger
New Email Received
Trigger for new emails in an AgentMail inbox
Action
Create label
Creates a new label with a unique name in the specified user's gmail account.
Why this helps
New projects arrive faster than you can remember to create the Gmail labels that keep related conversations together.
- Create labels when a genuinely new topic appears.
- Keep project conversations easier to find.
- Avoid repeated manual label setup.
Setup
Build it in a few focused steps.
- 1Connect AgentMail and Gmail once in the Notis portal.
- 2Create an automation in Automations, New Automation, and give it a name.
- 3In one instruction, ask Notis to identify a clearly named new project in each message and create a Gmail label only when that label does not already exist.
- 4Pick the AgentMail New Email Received trigger and choose where run reports go.
- 5Test with one real message that names a project and check the Gmail label list.
Questions about this workflow
Will it create a label for every email?
No. Instruct Notis to create one only when the message clearly introduces a distinct project or topic.
Can it apply the label to Gmail messages too?
This workflow creates the label. Applying it to a message requires an existing accessible Gmail message and label IDs.
When this happens · Trigger
Do this · Action
Supported Triggers and Actions
Notis builds workflows that link Agent mail to Gmail. A trigger fires from one place; an action lands in another.
Agent mail triggers
Gmail actions
Recurring trigger
Notis starts this workflow on a schedule, such as daily, weekly, or during business hours.
Modify email labels
Adds and/or removes specified gmail labels for a message; ensure `message id` and all `label ids` are valid (use 'listlabels' for custom label ids).
Webhook trigger
Notis starts this workflow when an external tool or custom backend sends an HTTP request.
Create email draft
Creates a gmail email draft, supporting to/cc/bcc, subject, plain/html body (ensure `is html=true` for html), attachments, and threading.
New Email Received
Trigger for new emails in an AgentMail inbox
Create label
Creates a new label with a unique name in the specified user's gmail account.
Delete Draft
Permanently deletes a specific gmail draft using its id; ensure the draft exists and the user has necessary permissions for the given `user id`.
Delete message
Permanently deletes a specific email message by its id from a gmail mailbox; for `user id`, use 'me' for the authenticated user or an email address to which the authenticated user has delegated access.
Fetch emails
Fetches a list of email messages from a gmail account, supporting filtering, pagination, and optional full content retrieval.
Fetch message by message ID
Fetches a specific email message by its id, provided the `message id` exists and is accessible to the authenticated `user id`.
Fetch Message by Thread ID
Retrieves messages from a gmail thread using its `thread id`, where the thread must be accessible by the specified `user id`.
Connect any two apps with Notis in the middle.
Agent mail and Gmail, or any other combination from 1,000+ integrations.
When this happens · Trigger
Do this · Action
Save your first hour today.
7-day trial of any paid plan, with 20$ of usage included.
No card. Works with personal or business Gmail.