You could set this up on the checkout success page where the data is already in the database ? As a matter of course I only send emails from the checkout success page because it is at this point the sale is actually confirmed.
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.