Fix email account email foreign key