Added basic logging to EmailHelper methods.