Add an unsubscribe link to an email message

You can add an Unsubscribe link to the bottom of any email body so users can unsubscribe from any subscription-based notification.

Before you begin

Role required: admin


Paste the following code into an email notification or template:
template.print( '<a href="' + gs.getProperty('glide.servlet.uri') + '' + email_action.sys_id + '">Unsubscribe</a><br/>\n');