imapctl-0.1.0 is not a library.
imapctl
Scriptable IMAP client for the shell.
Where it makes sense, commands read their input from stdin making it possible
to compose commands with pipes.
Installation
Nix flakes
Nix can take care of the toolchains for you ;)
# and building ofc
Docker
# To run:
Usage
Use imapctl --help for more help.
Examples
Authenticate using environmental variables
The other examples will assume these environmental variables to be set.
Alternatively, you can pass the --host, --username and --passwd-cmd
parameters.
List ID's for all messages in the INBOX mailbox
List ID's for all messages in the bla mailbox
List From and Subject for all message in the bla mailbox
|
List Date, From and Subject for the INBOX
|
Copy/Sync messages from one mailbox (INBOX) to another (bla)
for; do
( |)
done