we currently clean up deleted accounts manually, but it would be nice to auto-remove them from sendgrid when they delete their account from within profile: https://app.cal.com/settings/my-account/profile
Where should I define unsubscribeToSendgrid function
Where should I call this function (Where is the delete user function)
I have spent couple of hours finding these and found /packages/lib/Sendgrid.ts and /packages/features/ee/teams/lib/removeMember.ts.
Please fix me if I am wrong :)
we currently clean up deleted accounts manually, but it would be nice to auto-remove them from sendgrid when they delete their account from within profile: https://app.cal.com/settings/my-account/profile
this API should do it: https://www.twilio.com/docs/sendgrid/api-reference/subusers-api/delete-a-subuser
CAL-4041