separated dev logging from email parsing