added base_url to swig email template