Modified document to include var emails