working mailer with attachments!