add new email API file