Crates.io | mailstat |
lib.rs | mailstat |
version | 0.1.0 |
source | src |
created_at | 2023-04-22 22:17:31.140131 |
updated_at | 2023-04-22 22:17:31.140131 |
description | A command line tool for analyzing email inbox statistics |
homepage | https://github.com/chairmanlee8/mailstat |
repository | https://github.com/chairmanlee8/mailstat |
max_upload_size | |
id | 846195 |
size | 89,457 |
Command-line tool for analyzing an email inbox and producing various statistics.
With Gmail (see notes on Gmail):
cargo run -- --email ***@gmail.com --cache tmp/***.json --days 14
With Protonmail Bridge:
cargo run -- --email ***@proton.me --cache var/***.json --days 14 \
--imap-host 127.0.0.1 --imap-port 1143 --imap-starttls \
--smtp-host 127.0.0.1 --smtp-port 102
Must create a dedicated app password for use with less-secure apps on Gmail. Prefer the use of a shell tool to manage
passwords such as pass
(https://www.passwordstore.org/). The default shell command that mailstat uses is
pass show mailstat/<email>
.
Ensure that GPG_TTY is set so that the password input TUI can be shown.
GPG_TTY=$(tty)
export GPG_TTY