[arXiv:0910.0056] The canonical embedding of an unramified morphism in an étale morphism by David Rydh We show that every unramified morphism X->Y has a canonical and universal factorization X->E->Y where the first morphism is a closed embedding and the second is etale (but not separated).
nLab page on Sandbox 2