Printing mails to console, when not production environment