imap-smtp-email

Read and send emails via IMAP/SMTP using a Node.js CLI.

5.8k|918|Updated Feb 12, 2026
One-click install
npx skills add https://github.com/netease-youdao/LobsterAI --skill imap-smtp-email-netease-youdao
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: imap-smtp-email
Source: https://github.com/netease-youdao/LobsterAI/tree/main/SKILLs/imap-smtp-email
Command: npx skills add https://github.com/netease-youdao/LobsterAI --skill imap-smtp-email-netease-youdao

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill provides a command-line interface to read and send emails using IMAP/SMTP, enabling automated inbox checks, content retrieval, and message composition across major providers like Gmail and Outlook without leaving your workspace.

Core Features & Use Cases

  • IMAP/SMTP CLI Toolkit: check for new or unread messages, fetch content, search mailboxes, and manage read/unread status.
  • Email Sending & Attachments: compose and send emails with text or HTML bodies and attachments, including bulk recipients.
  • Real-World Uses: automate daily inbox monitoring, generate reports from email attachments, and integrate email workflows into automation scripts.

Quick Start

Install dependencies, configure a .env file with IMAP/SMTP settings, and run node scripts/imap.js check to fetch recent emails or node scripts/smtp.js send to compose and send a new message.

Frequently Asked Questions about imap-smtp-email

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

FAQPage Schema
How do I automate reading and sending emails via IMAP and SMTP using Node.js?

You can automate email tasks by running a Node.js CLI that uses imap, imap-simple, and nodemailer to check, fetch, search, and send messages via IMAP and SMTP protocols. Configure your provider settings in a .env file to enable automated inbox workflows.

Can I send emails with attachments to bulk recipients using SMTP?

Yes, you can send emails with attachments to bulk recipients using SMTP. The skill utilizes nodemailer to compose and send messages with text or HTML bodies and attachments, supporting bulk recipient distribution for automated email workflows.

Does this IMAP CLI support Gmail and Outlook providers for fetching mailbox content?

Yes, the IMAP CLI supports searching and fetching mailbox content across major providers including Gmail and Outlook. It uses imap-simple and mailparser to retrieve and parse messages in a local or sandboxed environment.

How do I mark unread messages as read or download attachments from an IMAP mailbox?

You can mark unread messages as read or download attachments by executing specific CLI commands. The skill exposes commands like mark-read, mark-unread, and download, allowing you to manage message status and retrieve attachments directly from the IMAP mailbox.

What is the best way to integrate email workflows into automation scripts without leaving the workspace?

The best way to integrate email workflows is to use a command-line interface that reads and sends emails via IMAP and SMTP. This allows you to automate daily inbox monitoring, generate reports from attachments, and execute email commands within your local automation scripts.

What environment setup is required to configure IMAP and SMTP settings for this email CLI?

You must install Node.js dependencies and configure a .env file with your IMAP and SMTP settings. This environment-based configuration provides the necessary authentication credentials to connect the CLI to your email provider for reading and sending messages.