change email templates to use APP_URL, not hard-coded URLs; fixes #34