email url handling