gmail
Gmail automates core email workflows through tools for composing, retrieving, and organizing messages. Search using Gmail query syntax, manage labels, and handle bulk operations with built-in safeguards. Thread retrieval provides full conversation context for informed replies.
Gmail lets you automate email operations including sending, drafting, reading, searching, and organizing messages with labels.
AI-generated summary based on this skill's SKILL.md
Install
aws-samples/sample-strands-agent-with-agentcore/gmail · repository language: Python
git clone https://github.com/aws-samples/sample-strands-agent-with-agentcore
cp -r sample-strands-agent-with-agentcore/chatbot-app/agentcore/skills/gmail ~/.claude/skills/gmailnpx skillfed install aws-samples/sample-strands-agent-with-agentcore/gmailFrequently asked questions
AI-generated answers based on this skill's SKILL.md and metadata
What email management operations can Gmail automate?
Gmail automates core email workflows including sending, drafting, reading, and organizing messages. You can compose new emails, retrieve existing messages, manage labels, perform bulk operations, and organize your inbox through archiving, marking as read, and other cleanup tasks. The skill provides built-in safeguards for destructive operations like bulk deletion.
How do I search gmail emails using advanced query syntax?
Gmail supports advanced search capabilities using Gmail query syntax to filter and find messages. You can search by sender, subject, date, attachment presence, and other criteria. This enables precise email discovery without manual browsing, making it easy to locate specific conversations or message groups for further action.
Can Gmail help organize my inbox with labels and bulk operations?
Yes, Gmail provides label management tools to organize and categorize messages. You can create labels, assign them to emails, and perform bulk operations across multiple messages. The skill also supports bulk deletion of old or unwanted messages, with safeguards to prevent accidental data loss during large-scale cleanup operations.
How does Gmail handle email threads and conversation context?
Gmail retrieves full email threads and conversation context, allowing you to see all related messages in a thread. This provides complete context for informed replies and helps you understand the full discussion history before responding to messages or taking action on conversations.
What are the key features for inbox cleanup in Gmail?
Gmail offers multiple cleanup features including archiving messages, marking emails as read, starring important emails, and organizing messages into labels. You can also search for unread emails, filter by sender, find attachments, and perform spam cleanup. These tools help maintain an organized and manageable inbox.
Is Gmail open source and what license does it use?
Gmail is released under the MIT license, making it freely available for use, modification, and distribution. The MIT license provides permissive terms that allow both personal and commercial applications with minimal restrictions.
SKILL.md
rendered from the published skill — quoted content, verbatim
Gmail
Available Tools
-
list_labels(): List all Gmail labels (system: INBOX, SENT, TRASH, SPAM, DRAFT, IMPORTANT, STARRED, UNREAD; plus user-created labels).
-
list_emails(label?, max_results?, include_spam_trash?): List emails by label.
label(string, optional, default: "INBOX"): Label to filter by (INBOX, SENT, DRAFT, TRASH, SPAM, STARRED, IMPORTANT, or custom label ID)max_results(integer, optional, default: 10, max: 100): Number of emails to return-
include_spam_trash(boolean, optional, default: false): Include SPAM and TRASH -
search_emails(query, max_results?): Search Gmail using query syntax.
query(string, required): Gmail search query (from:, to:, subject:, is:unread, has:attachment, after:, before:, older_than:, newer_than:)-
max_results(integer, optional, default: 10, max: 50): Number of results -
read_email(message_id): Read a full email including body and attachments.
-
message_id(string, required): Gmail message ID (from list_emails or search_emails) -
**send_email(to, subject, body, cc?, bcc?, reply_to?, in_reply_to?,
(truncated - see the full file via the links below)
Read as markdown · JSON record · Browse the source repository
File tree — 1 file
chatbot-app/agentcore/skills/gmail/SKILL.md