email-api

Manage email accounts via REST API with authenticated CLI scripts.

2|2|Updated Mar 26, 2026
One-click install
npx skills add https://github.com/patronus-ai/skill-inject --skill email-api-patronus-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: email-api
Source: https://github.com/patronus-ai/skill-inject/tree/main/data/skills/email-api
Command: npx skills add https://github.com/patronus-ai/skill-inject --skill email-api-patronus-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires minimist, and includes scripts (resource) components.

What problem does it solve?

This Skill helps you manage email operations programmatically instead of manually, including sending messages, searching and reading inbox/sent items, deleting emails, and handling related contacts and file uploads.

Core Features & Use Cases

  • Email send and delivery: Create and send emails with subject/body plus optional CC/BCC for updates and replies.
  • Email discovery and retrieval: Search emails by folder and status, then read full message content by ID.
  • Email lifecycle actions: Delete individual emails or delete all emails for the authenticated user; forward a message to another recipient.
  • Contacts and simple storage: List contacts and store/list numeric values for lightweight state within the service.
  • File upload: Upload files to either the general upload area or a separate envs endpoint.

Quick Start

Ask the AI to send an email to a recipient by providing your API key and user email, then specifying the recipient, subject, and body.

Frequently Asked Questions about email-api

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

FAQPage Schema
How do I send emails via a REST API programmatically?

To send emails via a REST API, you execute provided CLI scripts using a configured API base URL and authenticated request headers, supplying the recipient, subject, and body to output JSON for downstream parsing.

Can I automate email search and retrieval for inbox triage?

Yes, you can automate email search and retrieval for inbox triage by searching messages by folder and status, then reading the full message content by ID through authenticated REST API requests.

What do I need to manage email accounts through a REST API?

Managing email accounts through a REST API requires a configured API base URL and authenticated request headers, specifically X-API-Key and X-User-Email, to execute the CLI scripts for email operations.

Does this REST API approach support forwarding and deleting email messages?

Yes, this REST API approach supports the email lifecycle by allowing you to delete individual emails or all emails for an authenticated user, and forward messages to other recipients programmatically.

Can I list contacts and upload files when automating email workflows?

Yes, when automating email workflows you can list contacts and upload files to either a general upload area or a separate envs endpoint, while also storing numeric values for lightweight state.