ERPNext.com Frappe Cloud Support Partners Foundation Frappe School

Email queue is always empty

Hi there
I have a function sendnig emails , it excutes with no errors at all
but the email queue is always empty
This is the function


Any help ?