Oh thats really not good, believe me I went thru that once, specially when they dont document anything or comment out. I guess you have to make sure that you can rebuild that project because some companies does not give you the whole source to modify internally, but if you need to get that done quick, take a look sending email thru the db server. I use this stored procedure "xp_smtp_sendmail" is a third party tool that you have to register to sql server. and then you can create a trigger and send the email at the database level.
But that is just a workaround definitely you need to make sure you can update the source recompile the project then we can help you.