MailBot: register callbacks to be executed on mail reception.