testing email handler