I have my incoming email server set up to create a new lead when an email is sent to a particular address. How do I get access to the body of the email so I can populate other fields in the lead?
I assume that I should create a server action and write some python code to parse the body of the email. When you create the server action you fill in a base model. For me "crm.lead." This model does not seem to have access to the email that is being used to create the lead. Can anyone point me in the right direction?