can somebody tell me how to avoid mutating table error which occurs even though the trigger doesn't do any operation on the database. It calls a stored procedure which sends a mail.