We have setup a lead creation mechanism, in which a server action is created to generate leads and populate its fields when a contact form is submitted and emailed to an odoo email address from a wordpress website.
It is working fine, but since past 2 days every five minutes it is generating an empty lead. There a process setup in the server action generated on incoming message, which deletes the lead with no content attached or email from another email address, but it is not deleting the leads automatically, which means that these leads are not being created through emails, but email_from field show the email address the contact us form is sent from. Odoo version is 9 community.