Email and contact management with Gmail integration for CrewAI.
GMAIL_SEND_EMAIL
toRecipients
(array, required): To - Specify the recipients as either a single string or a JSON array.
from
(string, required): From - Specify the email of the sender.subject
(string, required): Subject - Specify the subject of the message.messageContent
(string, required): Message Content - Specify the content of the email message as plain text or HTML.attachments
(string, optional): Attachments - Accepts either a single file object or a JSON array of file objects.additionalHeaders
(object, optional): Additional Headers - Specify any additional header fields here.
GMAIL_GET_EMAIL_BY_ID
userId
(string, required): User ID - Specify the user’s email address. (example: “user@domain.com”).messageId
(string, required): Message ID - Specify the ID of the message to retrieve.GMAIL_SEARCH_FOR_EMAIL
emailFilterFormula
(object, optional): A filter in disjunctive normal form - OR of AND groups of single conditions.
from
, to
, date
, label
, subject
, cc
, bcc
, category
, deliveredto:
, size
, filename
, older_than
, newer_than
, list
, is:important
, is:unread
, is:snoozed
, is:starred
, is:read
, has:drive
, has:document
, has:spreadsheet
, has:presentation
, has:attachment
, has:youtube
, has:userlabels
paginationParameters
(object, optional): Pagination Parameters.
GMAIL_DELETE_EMAIL
userId
(string, required): User ID - Specify the user’s email address. (example: “user@domain.com”).messageId
(string, required): Message ID - Specify the ID of the message to trash.GMAIL_CREATE_A_CONTACT
givenName
(string, required): Given Name - Specify the Given Name of the Contact to create. (example: “John”).familyName
(string, required): Family Name - Specify the Family Name of the Contact to create. (example: “Doe”).email
(string, required): Email - Specify the Email Address of the Contact to create.additionalFields
(object, optional): Additional Fields - Additional contact information.
GMAIL_GET_CONTACT_BY_RESOURCE_NAME
resourceName
(string, required): Resource Name - Specify the resource name of the contact to fetch.GMAIL_SEARCH_FOR_CONTACT
searchTerm
(string, required): Term - Specify a search term to search for near or exact matches on the names, nickNames, emailAddresses, phoneNumbers, or organizations Contact properties.GMAIL_DELETE_CONTACT
resourceName
(string, required): Resource Name - Specify the resource name of the contact to delete.GMAIL_CREATE_DRAFT
toRecipients
(array, optional): To - Specify the recipients as either a single string or a JSON array.
from
(string, optional): From - Specify the email of the sender.subject
(string, optional): Subject - Specify the subject of the message.messageContent
(string, optional): Message Content - Specify the content of the email message as plain text or HTML.attachments
(string, optional): Attachments - Accepts either a single file object or a JSON array of file objects.additionalHeaders
(object, optional): Additional Headers - Specify any additional header fields here.