mail

Send and retrieve emails with attachments via SMTP/IMAP across Gmail, QQ, 163, and Outlook.

Updated Feb 13, 2026
One-click install
npx skills add https://github.com/chengyihua/nanobot-ts --skill mail-chengyihua
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: mail
Source: https://github.com/chengyihua/nanobot-ts/tree/main/skills/mail
Command: npx skills add https://github.com/chengyihua/nanobot-ts --skill mail-chengyihua

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires python-dotenv, and includes scripts (resource) and references (resource) components.

What problem does it solve?

Email management is streamlined by providing integrated sending, receiving, and organization capabilities across major providers.

Core Features & Use Cases

  • Sending: compose and send emails with attachments, CC/BCC, HTML or plain text.
  • Receiving & Search: fetch inbox messages, filter by from/subject/unread, download attachments.
  • Automation & Templates: configure accounts via .env, reuse templates, batch sends and simple scheduling.

Quick Start

Configure your email provider in the .env file and run the sample script to send a test email.

Frequently Asked Questions about mail

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

FAQPage Schema
How do I send emails with attachments using SMTP and Python?

To send emails with attachments using SMTP, you can configure your provider credentials in a .env file and execute a script to compose messages with HTML or plain text, attaching files for reliable delivery.

Can I retrieve and filter inbox messages via IMAP for Gmail or Outlook?

Yes, you can retrieve and filter inbox messages via IMAP for providers like Gmail and Outlook, applying search-based retrieval to fetch unread emails or filter by sender and subject.

Does this email automation approach support batch sends and scheduling?

This email automation approach supports batch sends and simple scheduling, allowing you to reuse templates and distribute multiple messages efficiently across configured providers.

What is the best way to configure email credentials for Python automation scripts?

The best way to configure email credentials for Python automation scripts is by using python-dotenv to manage environment variables, ensuring secure TLS/SSL handling for SMTP and IMAP connections.

Are there limitations when automating email retrieval across QQ and 163 providers?

When automating email retrieval across QQ and 163 providers, limitations may arise from specific server-side rate limits or authentication protocols, requiring proper TLS/SSL error handling for consistent access.