Fixed the output variable for MAIL_BOX_SEND (MSSQL, why do you insist on signed types..)
Fixed a signed/unsigned mismatch warning.