Change API to be consistent in allowing email for add_invitation

tahrir pull request will also be created soon