Fixed small bug in email