initial wc emails api integration