Added email transaction handling.