dont worry it can be done
i made it to work as i wanted my system to send me an emial when it finished a certain script
Here is how to make mutt send email using ur gmail account
1) Logon to ur gmail account , in settings -> Forwarding and POP
enable pop for all mail
2) Download nbSMTP (nbSMTP is a simple SMTP)
NOTE : u have to have openssl , libssl-dev installed
3) setup mutt by making a file named .muttrc in my HOME
here is mine :
folder-hook . "my_hdr From: <firstname.lastname@example.org>"
set sendmail="/usr/local/bin/nbsmtp -U username -P password -d gmail.com -h smtp.gmail.com -f email@example.com
-p 587 -M p -S"
NOTE : ofcourse u have to enter ur username and password
Finally test it out by typing :
echo "It Works" | mutt -s "It Finally works" firstname.lastname@example.org
as for recieving here is a site i have found :