Update mail plugin to use get_absolute_url