migrate back to emailjs npm and catchup work to msgs