Hi we are converting incoming emails into leads and filling the lead fields from the email through a custom server action. The problem is that since past 2 days we have been receiving junk emails from the email address we have been using (2 emails every 5 mins) which are creating invalid leads.
we need to curb this at the time the message is received or at the time lead is created. Which function is executed the first an email is received?