Mailer preview now uses `url_for` for email links

This change fixes urls for apps running on a sub directory on the mailer preview index pages.