downcase email on api and when saving to db