Socket
Book a DemoInstallSign in
Socket

mailos

Package Overview
Dependencies
Maintainers
1
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mailos

Command-line email client with AI integration and support for multiple providers

latest
Source
npmnpm
Version
0.1.153
Version published
Weekly downloads
437
23.1%
Maintainers
1
Weekly downloads
 
Created
Source

mailos

EmailOS - A standardized email client CLI with support for multiple providers

Installation

npm install -g mailos

Requirements

  • Node.js 14.0.0 or higher
  • Go 1.21 or higher (for building from source)

Quick Start

  • Setup your email account:

    mailos setup
    
  • Send an email:

    mailos send -t recipient@example.com -s "Hello" -b "This is a test email"
    
  • Read emails:

    mailos read -n 10
    

Features

  • 📧 Multiple email provider support (Gmail, Fastmail, Zoho, Outlook, Yahoo)
  • 📝 Markdown email composition (automatically converted to HTML)
  • 🔍 Advanced email search and filtering
  • 📎 Attachment support
  • 🔗 Unsubscribe link detection
  • 💾 Export emails to markdown files
  • 🔒 Secure credential storage

Commands

Setup

mailos setup

Interactive setup wizard to configure your email account.

Send

mailos send -t to@email.com -s "Subject" -b "Body"

# With attachments
mailos send -t to@email.com -s "Files" -b "See attached" -a file1.pdf -a file2.docx

# With CC and BCC
mailos send -t to@email.com -c cc@email.com -B bcc@email.com -s "Subject" -b "Body"

Read

# Read last 10 emails
mailos read

# Read unread emails
mailos read --unread

# Search by sender
mailos read --from sender@example.com

# Save as markdown files
mailos read --save-markdown --output-dir emails/

Mark as Read

# Mark specific emails
mailos mark-read --ids 1,2,3

# Mark all from sender
mailos mark-read --from notifications@example.com

Delete

# Delete specific emails
mailos delete --ids 1,2,3 --confirm

# Delete all from sender
mailos delete --from spam@example.com --confirm

Unsubscribe

# Find unsubscribe links
mailos unsubscribe --from newsletter@example.com

# Open unsubscribe link in browser
mailos unsubscribe --from newsletter@example.com --open

Configuration

Configuration is stored in ~/.email/config.json or in a local .email/config.json file.

Building from Source

If you want to build from source instead of using pre-built binaries:

  • Clone the repository
  • Install Go 1.21+
  • Run npm install -g . from the npm directory

License

MIT

Support

For issues and feature requests, visit: https://github.com/anduimagui/emailos/issues

Keywords

email

FAQs

Package last updated on 11 Nov 2025

Did you know?

Socket

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.

Install

Related posts