Hi @Vignesh K
The EXECUTE permission was denied on the object 'sp_send_dbmail', database 'msdb', schema 'dbo'.'
Try explicitly granting permissions to sp_send_dbmail:
USE msdb;
GO
GRANT EXECUTE ON dbo.sp_send_dbmail TO [sa];
Best regards,
Cosmog
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".