imap-smtp-email

Read and manage email via IMAP/SMTP with Node.js scripts.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/fengzhizi319/LobsterAI --skill imap-smtp-email-fengzhizi319
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: imap-smtp-email
Source: https://github.com/fengzhizi319/LobsterAI/tree/main/SKILLs/imap-smtp-email
Command: npx skills add https://github.com/fengzhizi319/LobsterAI --skill imap-smtp-email-fengzhizi319

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Read and manage email via IMAP/SMTP. This Skill consolidates inbound/outbound mail tasks into a single workflow, reducing context switching and manual checking across clients.

Core Features & Use Cases

  • Check for new/unread messages, fetch content, search mailboxes, mark read/unread, and send emails with attachments across major providers (Gmail, Outlook, 163.com, vip.163.com, 126.com, vip.126.com, 188.com, vip.188.com).
  • Use cases include personal inbox triage, automation workflows, and integration with other LobsterAI skills.

Quick Start

Configure credentials via the provided .env file and then run node scripts/imap.js check to see recent emails.

Frequently Asked Questions about imap-smtp-email

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

FAQPage Schema
How do I read and send email via IMAP and SMTP using Node.js?

You can read and send email via IMAP and SMTP using a Node.js tool that supports checking messages, fetching content, searching mailboxes, and sending emails with attachments across major providers like Gmail and Outlook.

How do I check for unread messages and fetch email content from a mailbox via IMAP?

To check for unread messages and fetch email content via IMAP, run the check command to see recent emails or use the fetch command to retrieve specific message content directly from your configured mailbox.

Can I automate sending emails with attachments across providers like Gmail, Outlook, and 163.com?

Yes, you can automate sending emails with attachments across major providers including Gmail, Outlook, 163.com, 126.com, and 188.com using the SMTP send command within your Node.js automation workflows.

Do I need to configure environment variables to connect to my IMAP and SMTP servers?

Yes, you need to configure your IMAP and SMTP server credentials via a .env file before executing commands to check, fetch, search, mark read/unread, or send emails.

What is the best way to manage inbound and outbound mail tasks without switching between email clients?

The best way to manage inbound and outbound mail tasks without switching clients is using a consolidated Node.js workflow that handles checking, searching, marking read/unread, and sending emails via IMAP and SMTP.

How do I search mailboxes and mark emails as read or unread via IMAP?

You can search mailboxes and mark emails as read or unread via IMAP by using the search, mark-read, and mark-unread commands provided by the Node.js tool to manage your inbox efficiently.