phone and email api fixes