New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

imap-cleaner

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

imap-cleaner

Command-line utility for remove old emails from an email inbox over imap.

  • 1.0.4
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
increased by100%
Maintainers
1
Weekly downloads
 
Created
Source

imap-cleaner

Node.js CI

NodeJS command line utility for removing old emails from an IMAP server.

Installing

npm install -g imap-cleaner

Running

Usage: imap-cleaner --deleteOlderThan --max

  1. Create the config files with your IMAP server details (within ./config/connection.js)
{
  "user": "<User name>",
  "password": "<Password>",
  "host": "<IMAP Server address>",
  "port": 993,
  "tls": true
}
  1. Run the command, only consider the ones with a date/time older than 400 days. Limit the remove to 20 (for speed and safety)
node index.js --deleteOlderThan 400 --max 20

Contributors

One-man-band at the moment. Contact me at twitter on @rayhammond, or, via my blog here http://geeksretreat.wordpress.com if you are interest in getting involved.

License

MIT

Keywords

FAQs

Package last updated on 16 Jun 2020

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc