Sim

Gmail

Send Gmail or trigger workflows from Gmail events

Gmail is Google's popular email service that provides a robust platform for sending, receiving, and managing email communications. With over 1.8 billion active users worldwide, Gmail offers a feature-rich experience with powerful search capabilities, organizational tools, and integration options.

With Gmail, you can:

  • Send and receive emails: Communicate with contacts through a clean, intuitive interface
  • Organize messages: Use labels, folders, and filters to keep your inbox organized
  • Search efficiently: Find specific messages quickly with Google's powerful search technology
  • Automate workflows: Create filters and rules to automatically process incoming emails
  • Access from anywhere: Use Gmail across devices with synchronized content and settings
  • Integrate with other services: Connect with Google Calendar, Drive, and other productivity tools

In Sim, the Gmail integration enables your agents to send, read, and search emails programmatically. This allows for powerful automation scenarios such as sending notifications, processing incoming messages, extracting information from emails, and managing communication workflows. Your agents can compose and send personalized emails, search for specific messages using Gmail's query syntax, and extract content from emails to use in other parts of your workflow. Coming soon, agents will also be able to listen for new emails in real-time, enabling responsive workflows that can trigger actions based on incoming messages. This integration bridges the gap between your AI workflows and email communications, enabling seamless interaction with one of the world's most widely used communication platforms.

Usage Instructions

Comprehensive Gmail integration with OAuth authentication. Send email messages, read email content, and trigger workflows from Gmail events like new emails and label changes.

Tools

gmail_send

Send emails using Gmail

Input

ParameterTypeRequiredDescription
tostringYesRecipient email address
subjectstringYesEmail subject
bodystringYesEmail body content
ccstringNoCC recipients (comma-separated)
bccstringNoBCC recipients (comma-separated)

Output

ParameterTypeDescription
contentstringSuccess message
metadataobjectEmail metadata

gmail_draft

Draft emails using Gmail

Input

ParameterTypeRequiredDescription
tostringYesRecipient email address
subjectstringYesEmail subject
bodystringYesEmail body content
ccstringNoCC recipients (comma-separated)
bccstringNoBCC recipients (comma-separated)

Output

ParameterTypeDescription
contentstringSuccess message
metadataobjectDraft metadata

gmail_read

Read emails from Gmail

Input

ParameterTypeRequiredDescription
messageIdstringNoID of the message to read
folderstringNoFolder/label to read emails from
unreadOnlybooleanNoOnly retrieve unread messages
maxResultsnumberNoMaximum number of messages to retrieve (default: 1, max: 10)
includeAttachmentsbooleanNoDownload and include email attachments

Output

ParameterTypeDescription
contentstringText content of the email
metadatajsonMetadata of the email
attachmentsfile[]Attachments of the email

Search emails in Gmail

Input

ParameterTypeRequiredDescription
querystringYesSearch query for emails
maxResultsnumberNoMaximum number of results to return

Output

ParameterTypeDescription
contentstringSearch results summary
metadataobjectSearch metadata

Notes

  • Category: tools
  • Type: gmail
Gmail