transport in email
logging, code cleaning