add MessageMailer class to offline