Implemented file transport for mails.