• I think that your the problem is with your table structure

    as error is for table and you can see the status of sysmail_mailtiems

    it shouldn't be 1 as 1 is for sent .