fix mail validation when user sets multiple address at the same time