public static EMPathProvider CreatePath(string userPath, EMDocument currentDocument, TransformationData data)
        {
            if (EMEMailPath.Verify(userPath))
            {
                return(new EMEMailPath(userPath));
            }

            if (EMExternalPath.Verify(userPath))
            {
                return(new EMExternalPath(userPath));
            }

            if (EMLocalFilePath.Verify(userPath))
            {
                return(new EMLocalFilePath(userPath, currentDocument, data));
            }

            return(new EMLocalDocumentPath(userPath, currentDocument, data));
        }