email

Send emails and reply to threads via Python SMTP/IMAP.

10|Updated Feb 17, 2026
One-click install
npx skills add https://github.com/istota-project/istota --skill email-istota-project
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: email
Source: https://github.com/istota-project/istota/tree/main/src/istota/skills/email
Command: npx skills add https://github.com/istota-project/istota --skill email-istota-project

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill enables programmatic email sending and reply threading from Claude Code, streamlining communication workflows without leaving your automation environment.

Core Features & Use Cases

  • Send emails via SMTP and compose messages with proper headers (Subject, From, To, Date).
  • Reply in existing threads using In-Reply-To and References headers, with optional attachments and HTML content.
  • Save a copy to Sent Items and support basic email search and attachment handling for notifications, alerts, and reports.

Quick Start

Send an email to a recipient with a subject and body using the CLI.

Frequently Asked Questions about email

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

FAQPage Schema
How do I send emails via SMTP from an automation script?

Send emails via SMTP by using Python's smtplib to compose messages with proper Subject, From, To, and Date headers, reading host and user credentials from environment variables or a config file.

How does reply threading work when sending email programmatically?

Reply threading works by applying In-Reply-To, References, and Message-ID headers to link responses to existing email conversations, ensuring proper thread structure when automating replies.

Can I include HTML content and file attachments in automated email sending?

You can include HTML content and attachments in automated email sending via SMTP, supporting rich text formatting and file delivery for notifications, alerts, and reports.

What is the best way to search and manage emails using IMAP in Python?

Search and manage emails using IMAP by leveraging the imap_tools library to query, read, and handle attachments, streamlining inbox monitoring and notification workflows.

Do I need environment variables to configure SMTP and IMAP credentials?

You need environment variables or a configuration file to supply SMTP and IMAP host, user, and credential details, ensuring secure and automated authentication for email operations.

Can I save sent emails to a Sent Items folder when sending via SMTP?

You can save a copy of sent emails to the Sent Items folder when sending via SMTP, ensuring outgoing messages and attachments are archived within the mailbox for record-keeping.