It may be worth starting a new thread for this new topic. I'm not 100% sure but that sounds like something that pretty much any webhost already does, so you can begin writing the functions you need to send an email.
I appreciate more than anybody about coding things for yourself, but maybe it's...