Fixed save with email.type
Added a convertBirthday utility function