Remove Email Unsubscription

How to remove unsubscribe link from email sent thru erp.
Where will i find default email template ??

Check this: https://github.com/frappe/frappe/blob/develop/frappe/email/queue.py#L81

Maybe there could be a setting to ignore unsubscribe on a doctype level (?)

Thank you so much rushab, i found the solution in email_body.py which is present in /frappe/frappe/email/
I commented the unsubscribe link.

@Varna bad idea :slight_smile: now it will break when you try and upgrade.

You should always try and push a fix to core when you encounter such issues.

Ohh sorry for that :expressionless: , I will definitely push the fix to core.
The issue can be closed now. but how that i dont know :confused: