Mail information are removed from the script and put in the mailinfo.txt file