switch mail URL to apps