close/send mails