Hello,
Depending on the front end of your application it may be better for example in .net to send email direct through SMTP - very quick and simple.
If you provide me details of your setup I'd be happy to advise the best method of achieving your goal.
I have many years experience developing asp.net and SQL server database applicatiins. My profile provides details of my background.
I look forward to discussing your plans with you.
Regards
Damian