Added ability to save emails to a file(mails.txt)