Yes, you can modify the mail procedures in MSDB. It is fairly simple, so just open the procedure and look at what it is doing.
Remember that any patches or service packs you apply may over-write your changes and you may have to re-apply and re-test. System stored procedures can be modified by MS at any time.