[FIX] set message type as email if is new_message_pec before mail.mail creation
[FIX] write mail.message email_from field ,because mail.mail overwrites the field and cancels