rough edit of email contact api