Added proper credit for email logger code