Updated mail triggers to remove processed mails from server.