fixed attaching files and sending mails