cyberneticlibrary

Automate Gmail sending and labeling

gmail-automationskillsetup L23,035
davepoon/buildwithclaude
What it does

Automate Gmail send, reply, search, and label operations via Rube MCP

Best for

Bulk-email replies, label-based message organization, and search-and-label workflows faster than UI batch operations.

Inputs
  • · Recipient email(s)
  • · Subject, body (HTML-safe)
  • · Gmail search query syntax
  • · Label names/IDs
Outputs
  • · Sent/draft email confirmation
  • · Matching email list with metadata
  • · Label creation confirmation
Requires
  • · Rube MCP
  • · Composio Gmail toolkit
  • · Google OAuth
Preconditions

Rube MCP configured; Gmail connection authenticated; OAuth scopes allow compose/modify

Failure modes
  • · Recipient count exceeds limit (50)
  • · Message > 25MB
  • · Invalid MIME type (missing /)
  • · Thread ID format mismatch
  • · Duplicate label names
Trust signals
  • · Hex thread ID validation
  • · System label immutability rules (SENT, DRAFT, CHAT)
  • · Max 1000 message batch