email transformation