sendind mail and downloading attachments