When an account is deleted, all datas are retrieved from the DB. So it’s just impossible to send a mail to a unknown user !
Send a confirmation to the user being deleted?
Not sure if this will work from Settings > Delete Account:
https://codex.wordpress.org/Plugin_API/Action_Reference/delete_user#Example:_Email_Users_Being_Deleted
I thought this was clear, but maybe not.
I want to send an confirmation email upon ‘requesting’ deleting there account. This email needs to be confirmed before we delete the account.
It’s possible, but not easy.
You’ll have to start by changing the form action
on this template:
bp-templates\bp-legacy\buddypress\members\single\settings\delete-account.php
And then write a function to handle your new action.