How can I use devise invitable gem to send a confirmation email to delete user account?

Hello, guys, I am working on a project for a nonprofit organization and I am new to rails. I was going through a gem 'devise and devise-invitable' . There were people working on it before us. I am having a hard time understanding the legacy code. I am looking a feature to implement when a user wants to delete the account the system will send a link to his/her email address for confirmation. When the user checks the link then the account will be deleted. How can I send the email? Any help would be appreciated (links, tutorials, suggestion etc). Thanks

Leave a Comment