thrum-0.0.5 is not a library.
Thrum
A terminal email client (TUI) written in Rust.
Configuration
Thrum reads its config from ~/.config/thrum.toml. Create the file with your IMAP and SMTP credentials:
[]
= "imap.example.com"
= 993
= "you@example.com"
= "your-password"
= ["INBOX"]
= "Sent" # optional
[]
= "smtp.example.com"
= 587
= "you@example.com"
= "your-password"
[]
= "you@example.com"
= "Your Name" # optional
Password commands
Instead of storing passwords in plain text, you can use a shell command wrapped in backticks. Thrum will execute the command and use its stdout as the password:
[]
= "imap.gmail.com"
= 993
= "you@gmail.com"
= "`pass email/gmail`"
= ["INBOX"]
= "Sent"
[]
= "smtp.gmail.com"
= 587
= "you@gmail.com"
= "`pass email/gmail`"
[]
= "you@gmail.com"
= "Your Name"
This works with any secret manager (pass, op, gpg, security find-generic-password, etc.).