Log debug in email