email framework