npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

dooray-mail-cli

v0.2.4

Published

Dooray mail CLI for OpenClaw Skill - IMAP/SMTP integration

Readme

Dooray Mail CLI

npm version License: MIT

Dooray mail CLI for OpenClaw - IMAP/SMTP integration

🚀 Installation

npm install -g dooray-mail-cli

📖 Usage

Setup

dooray-cli config  # Configure email account

Check Emails

dooray-cli recent  # List 10 recent mails
dooray-cli list    # List unread mails only
dooray-cli read 123  # Read specific mail by UID

Send & Reply

dooray-cli send --to "[email protected]" --subject "Hello" --body "Message"
dooray-cli send --to "[email protected]" --subject "Hello" --body "Message" --cc "[email protected]" --attach "./file.pdf"
dooray-cli send --to "[email protected]" --subject "Hello" --html "<h1>Title</h1>"
dooray-cli reply 123 --body "Thank you!"  # Reply to mail UID 123
dooray-cli forward 123 --to "[email protected]" --body "FYI"

Manage Emails

dooray-cli delete 123        # Move to trash
dooray-cli delete 123 --force  # Permanently delete
dooray-cli mark 123 --read   # Mark as read
dooray-cli mark 123 --unread # Mark as unread

Attachments

dooray-cli attachments 123          # List attachments
dooray-cli download 123             # Download all
dooray-cli download 123 --file 1    # Download specific file
dooray-cli download 123 --output ./my-files  # Custom output path

Search with Filters

dooray-cli search "keyword"  # Search by keyword
dooray-cli search "meeting" --from "[email protected]"  # Filter by sender
dooray-cli search "report" --since "2026-01-01"        # Filter by date
dooray-cli search "invoice" --before "2026-02-01"      # Before date

Other Commands

dooray-cli unread  # Show unread count
dooray-cli test    # Test IMAP/SMTP connection
dooray-cli help    # Show all commands

🔧 Features

  • ✅ IMAP/SMTP mail operations
  • ✅ Read/Send/Reply/Forward emails
  • Email threading support (Reply with In-Reply-To headers)
  • CC/BCC support (v0.2.0+)
  • HTML mail support (v0.2.0+)
  • Attachments management (List & Download) (v0.1.3+)
  • Send with attachments (v0.2.0+)
  • Delete & Mark as read/unread (v0.2.0+)
  • Advanced search filters (Date, Sender) (v0.2.0+)
  • ✅ AES-256 password encryption
  • ✅ Cross-platform (Windows, macOS, Linux)
  • ✅ OpenClaw Skill integration

📋 Requirements

  • Node.js 14+
  • Dooray email account with IMAP/SMTP access

Default Dooray Settings:

  • IMAP: imap.dooray.com:993 (SSL)
  • SMTP: smtp.dooray.com:465 (SSL)

🔒 Security

  • Passwords are encrypted with AES-256
  • Configuration stored locally: ~/.dooray-config.json
  • Mail cache for replies: ~/.dooray-mail-cache.json

📚 Documentation

See SKILL.md for detailed command reference and OpenClaw integration guide.

📝 License

MIT

🤝 Contributing

Issues and pull requests are welcome!

📦 Package

  • npm: https://www.npmjs.com/package/dooray-mail-cli