changed loggedMail() to always set From address in header