fixes #7
adds base_url for emails