pass base_url to emails as variable