gmail

Manage Gmail emails and labels with query syntax and bulk deletion.

186|56|Updated Aug 13, 2025
One-click install
npx skills add https://github.com/aws-samples/sample-strands-agent-with-agentcore --skill gmail-aws-samples
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gmail
Source: https://github.com/aws-samples/sample-strands-agent-with-agentcore/tree/main/chatbot-app/agentcore/skills/gmail
Command: npx skills add https://github.com/aws-samples/sample-strands-agent-with-agentcore --skill gmail-aws-samples

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill reduces the time and risk of manual inbox management by enabling programmatic reading, searching, composing, labeling, drafting, and deleting of Gmail messages so users can automate triage, replies, and cleanup.

Core Features & Use Cases

  • Label discovery and filtering: list_labels and list_emails let agents enumerate and filter messages by system and user-created labels.
  • Targeted search and retrieval: search_emails supports Gmail query syntax to locate messages, and read_email/get_email_thread returns full message bodies and attachments.
  • Compose and workflow automation: send_email and draft_email enable composing, replying, and saving drafts with threading support.
  • Inbox management and safety: modify_email lets agents add/remove labels for archiving and starring, while delete_email and bulk_delete_emails provide single and bulk deletion with explicit confirmation and reason requirements to prevent accidental data loss.
  • Use case: Automatically find unread messages from a vendor, summarize the latest thread, and draft a reply with next steps while archiving the conversation.

Quick Start

Use the gmail skill to search my inbox for unread messages from [email protected], open the latest thread, and draft a concise reply proposing next steps.

Frequently Asked Questions about gmail

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Gmail inbox management and email triage?

Automate Gmail inbox management by using programmatic actions to search messages with Gmail query syntax, read threads, apply labels, and draft or send replies. This enables automatic triage of incoming emails.

Can I search Gmail emails using query syntax and retrieve full message threads?

Yes, you can search Gmail emails using standard Gmail query syntax to locate specific messages. The skill retrieves full message bodies and complete threads, including attachments, by message ID or search query.

How do I bulk-delete Gmail messages safely without accidental data loss?

Bulk-delete Gmail messages safely through a process that requires explicit user confirmation and a reason before permanent deletion. This prevents accidental data loss when cleaning up multiple emails simultaneously.

Does this Gmail automation skill work with corporate Gmail accounts?

Yes, this Gmail automation skill works with both personal and corporate Gmail accounts. It supports label discovery, message retrieval, email composition, label modification, and deletions across account types.

How do I compose and draft Gmail replies with threading support?

Compose and draft Gmail replies with threading support by specifying the original message context. The skill enables creating new emails, replying to existing threads, and saving drafts while maintaining proper email threading.

What are the limitations of programmatically modifying Gmail labels?

Programmatic Gmail label modification is limited to adding or removing existing system and user-created labels for archiving and starring. It requires enumerating available labels first and cannot create new labels dynamically.