curl x imap

machine mail.server.tld login username password supersecretpw

machine mail.server.tld
    login username
    password supersecretpw
Attractive Albatross