Fixed error with email JSON