imap-smtp-email

Manage personal email via IMAP/SMTP with send, receive, search, and attachment actions.

Updated Apr 14, 2026
One-click install
npx skills add https://github.com/novolei/if2Ai --skill imap-smtp-email-novolei
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: imap-smtp-email
Source: https://github.com/novolei/if2Ai/tree/main/src-tauri/resources/bundled-skills/imap-smtp-email
Command: npx skills add https://github.com/novolei/if2Ai --skill imap-smtp-email-novolei

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires dotenv, imap, imap-simple, mailparser, nodemailer, and includes scripts (resource) components.

What problem does it solve?

个人邮箱能力分散导致邮件收发、检索与附件管理需要在不同入口完成。本 Skill 提供通过 IMAP/SMTP 的完整个人邮箱能力,将收发、附件、搜索与文件夹管理集中在一个入口。

Core Features & Use Cases

  • 完整的发送与接收能力:支持 to/cc/bcc、纯文本和 HTML 邮件,以及附件发送与下载。
  • IMAP 检索与管理:收件箱搜索、查看详情、标记已读/未读、列出邮箱文件夹。
  • 凭证管理与路由:通过凭证网关刷新凭证,确保安全地处理邮箱凭据并写入本地 .env。
  • Use Case: 当你需要为你的 AI 代理统一管理多家邮箱作为个人主入口时使用本 Skill。

Quick Start

通过调用入口脚本 email_gateway.sh 即可开始使用 IMAP/SMTP 完整收发、检索与附件下载的能力。

Frequently Asked Questions about imap-smtp-email

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

FAQPage Schema
How do I send and receive emails using IMAP and SMTP from a single entry point?

You can manage end-to-end personal email through IMAP and SMTP from a single entry point. This capability supports full mail actions including sending with to/cc/bcc, receiving, searching, and downloading attachments.

How are email credentials handled securely when using IMAP and SMTP?

Email credentials are handled securely through a credential gateway that performs token refresh. Credentials are safely managed and stored locally in a .env file for IMAP and SMTP access.

Can I download email attachments and search my inbox using IMAP?

Yes, you can download email attachments and search your inbox using IMAP. The capability also supports viewing email details, marking messages as read or unread, and listing mailbox folders.

Does this IMAP and SMTP email gateway support multiple email providers?

Yes, the unified IMAP and SMTP email gateway supports multiple providers. It coordinates command execution across IMAP and SMTP flows to manage various personal email accounts in one place.

Do I need to configure a .env file before starting IMAP and SMTP email management?

A local .env file is used to securely store your email credentials. The credential gateway writes to this .env file, ensuring your IMAP and SMTP configurations are safely persisted.

How do I start using the IMAP and SMTP email gateway?

You can start using the IMAP and SMTP email gateway by invoking the entry script email_gateway.sh. This script coordinates the complete sending, receiving, searching, and attachment management flows.