Thread Starter
ranzee
(@ranzee)
You could take a look at this plugin for inspiration – it has a background-mailer feature which takes the page load delays away:
https://wordpress.org/plugins/mail-control/
Obviously, you will need to write your own code.