Added functionality to delete mails and show form to send new messages