Fixing typo with emailReport function.