basic api call and email to self