email-api

Send, search, read, and delete emails via a REST API.

2|Updated May 20, 2026
One-click install
npx skills add https://github.com/Dianshu-Liao/SkilLGuard --skill email-api-dianshu-liao
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: email-api
Source: https://github.com/Dianshu-Liao/SkilLGuard/tree/main/data/skills/email-api
Command: npx skills add https://github.com/Dianshu-Liao/SkilLGuard --skill email-api-dianshu-liao

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill helps you automate email tasks and related file actions without manually operating an email client, by providing token-efficient command scripts that talk to a REST email API.

Core Features & Use Cases

  • Send emails with subject/body plus optional CC and BCC.
  • Search, read, and delete emails with JSON outputs that are easy for an agent to parse and act on.
  • Manage contacts, forward emails, and upload files (including an envs upload mode) and store/list numbers for lightweight state-like workflows.
  • Use Case: When you receive important updates, you can search for matching emails, read the most relevant message, then forward it to a colleague while optionally uploading related documents to the server.

Quick Start

Use the email-api skill to send a message by providing your API key and user email, then ask it to run the send operation with the recipient address, 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 automate sending emails with CC and BCC via a REST API?

You can automate sending emails with CC and BCC by executing JSON-based CLI scripts that communicate with a REST API, requiring an EMAIL_API_BASE_URL and per-request authentication headers including X-API-Key and X-User-Email.

How do I search and read emails in JSON format for inbox triage automation?

Search and read emails in JSON format by running CLI scripts against a REST API endpoint, using optional parameters like folder, status, and limit to filter results for automated inbox triage and follow-ups.

Can I forward emails and upload files simultaneously through a REST API?

Yes, you can forward emails and upload files simultaneously using command scripts that support an envs upload mode, allowing you to forward a message to a colleague while uploading related documents to the server.

What authentication headers are required to manage contacts through an email REST API?

Managing contacts through an email REST API requires configurable authentication headers, specifically X-API-Key and X-User-Email, passed with each request to validate access to contact listing and forwarding operations.

Does this email automation approach support storing and listing numbers for lightweight state workflows?

Yes, this email automation approach supports storing and listing numbers for lightweight state-like workflows, enabling controlled contexts where minimal data persistence is needed alongside standard email management operations.