
Security News
/Research
Coordinated npm and PyPI Campaign Typosquats Popular Secure Payment Apps
Socket uncovered 17 malicious npm and PyPI packages typosquatting Paysafe, Skrill, and Neteller SDKs to steal developer secrets.
open-mail-cli
Advanced tools
In an era dominated by web-based email clients, Open Mail CLI brings the power of email management back to the terminal. Built for developers, system administrators, and power users who value:
{{placeholders}}Open Mail CLI is available as an Agent Skill for AI coding agents (Claude Code, Cursor, etc.). Install the skill to give your agent the ability to send, receive, search, and manage emails.
npx skills add eric8810/open-mail-cli
Once installed, the agent can use mail-cli commands to handle email tasks autonomously — sending messages, checking inbox, managing contacts, and more.
# Clone the repository
git clone https://github.com/eric8810/open-mail-cli.git
cd open-mail-cli
# Install dependencies
npm install
# Link globally (optional)
npm link
# Interactive configuration wizard
mail-cli config
# Or configure manually
mail-cli config --set imap.host=imap.gmail.com
mail-cli config --set imap.port=993
mail-cli config --set smtp.host=smtp.gmail.com
mail-cli config --set smtp.port=465
# Sync your inbox
mail-cli sync
# List emails
mail-cli list
# Read an email
mail-cli read 1
# Send an email
mail-cli send --to user@example.com --subject "Hello" --body "World"
# Search emails
mail-cli search "meeting"
# Start background sync daemon
mail-cli sync daemon start
# Create a template
mail-cli template create --name "Meeting" \
--subject "Meeting on {{date}}" \
--text "Hi {{name}}, let's meet at {{time}}"
# Use the template
mail-cli template use 1 --var name=John --var time="2pm"
# Enable notifications
mail-cli notify enable
# Configure filters
mail-cli notify config --sender boss@company.com --important-only
# Test notifications
mail-cli notify test
# Export folder to MBOX
mail-cli export folder INBOX backup.mbox
# Import emails from EML
mail-cli import eml message.eml --folder INBOX
We welcome contributions! Whether it's:
Please read our Contributing Guide to get started.
This project is licensed under the MIT License - see the LICENSE file for details.
Built with ❤️ using these amazing open-source projects:
If you find this project useful, please consider giving it a ⭐!
在网页邮件客户端主导的时代,Open Mail CLI 将邮件管理的强大功能带回终端。专为开发者、系统管理员和高级用户打造:
{{占位符}} 变量替换Open Mail CLI 已作为 Agent Skill 发布,支持 AI 编程代理(Claude Code、Cursor 等)。安装此 skill 可赋予你的 agent 收发、搜索和管理邮件的能力。
npx skills add eric8810/open-mail-cli
安装后,agent 可以自主使用 mail-cli 命令处理邮件任务——发送消息、查看收件箱、管理联系人等。
# 克隆仓库
git clone https://github.com/eric8810/open-mail-cli.git
cd open-mail-cli
# 安装依赖
npm install
# 全局链接(可选)
npm link
# 交互式配置向导
mail-cli config
# 或手动配置
mail-cli config --set imap.host=imap.gmail.com
mail-cli config --set imap.port=993
# 同步收件箱
mail-cli sync
# 列出邮件
mail-cli list
# 阅读邮件
mail-cli read 1
# 发送邮件
mail-cli send --to user@example.com --subject "你好" --body "世界"
# 搜索邮件
mail-cli search "会议"
# 启动后台同步守护进程
mail-cli sync daemon start
我们欢迎各种形式的贡献:
请阅读我们的贡献指南开始参与。
本项目采用 MIT 许可证 - 详见 LICENSE 文件。
Made with ❤️ by developers, for developers
FAQs
A command-line email client with IMAP/SMTP support
The npm package open-mail-cli receives a total of 4 weekly downloads. As such, open-mail-cli popularity was classified as not popular.
We found that open-mail-cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
/Research
Socket uncovered 17 malicious npm and PyPI packages typosquatting Paysafe, Skrill, and Neteller SDKs to steal developer secrets.

Security News
Node.js is debating whether AI-driven security report volume warrants moving more vulnerability reports into public workflows.

Security News
PolinRider expands across npm, Packagist, Go modules, and Chrome extensions, using hidden loaders to target developer environments.