Mutt is a command line mail client for linux its very good for people who need quick mail access.
Download Mutt from ubuntu repositories
$sudo apt-get install mutt
Or fedora users can do
$sudo yum install mutt
Or download it from here .
Create a file by the name .muttrc (dont miss the dot there its dot muttrc ) in your home directory and copy the following
set imap_user = ‘youremailid@gmail.com’
set imap_pass = ‘your password’
set spoolfile = imaps://imap.gmail.com:993/INBOX
set folder = imaps://imap.gmail.com:993
set record=”imaps://imap.gmail.com/[Gmail]/Sent Mail”
set postponed=”imaps://imap.gmail.com/[Gmail]/Drafts”
set header_cache=”~/.mutt/cache/headers”
set message_cachedir=”~/.mutt/cache/bodies”
set certificate_file=~/.mutt/certificates
Change the first two values matching your mail account. Then you’re done!
Type the command mutt in terminal to check your mail
