Ajax Mail adapter