For sending invitation email: admin clicks on send-email link calls stored procedure in DB SP calls asp page that sends out all the emails.
For sending responses: as2 asp page calls db stored procedure with UID db calls asp page that sends out response email