Skip to content
Helpdesk Agent dev Tesoro CRM

Mailparser - Automatic lead import via email

The Tesoro Mailparser is an AI-powered service that automatically processes incoming emails from real estate portals and converts them into leads within Tesoro CRM. When a potential buyer expresses interest in a property through a portal such as Idealista or ThinkSpain, you receive a notification email. The mailparser reads this email, extracts the contact details and property preferences, and automatically creates a new lead in the CRM.


The processing flow is fully automatic and follows these steps:

  1. The portal sends an email — When a potential buyer expresses interest in a property, the real estate portal automatically sends a notification email to the unique email address set up for your office (for example, [email protected]).

  2. The system recognizes the portal — The mailparser automatically identifies which portal the email came from (Idealista, Kyero, ThinkSpain, etc.) and adjusts the processing accordingly.

  3. The contact details are extracted — The system analyzes the email with AI and extracts the key information: name, email address, phone number, property preferences, budget, and the buyer’s message.

  4. The data is validated — The system checks whether all required information (name, email, phone, message) is present and correct.

  5. The lead appears in your CRM — A new contact is automatically created in Tesoro CRM, including the source portal, property preferences, and the buyer’s original message.


The mailparser supports the following real estate portals:

PlatformDescription
IdealistaLargest real estate portal in Spain and Portugal
ThinkSpainInternational Spain-focused real estate platform
KyeroEuropean real estate portal with a focus on Spain, Portugal and France
FotocasaSpanish real estate platform
Green-AcresFrench and international real estate portal
IndomioItalian real estate platform
A Place in the SunBritish platform for overseas property
Luxury EstatePlatform for luxury real estate
James EditionMarketplace for luxury goods and real estate

For each real estate portal, the system generates a unique email address in the format:

{platform}-{timestamp}-{hash}@tesorocrm.ai

For example: [email protected]

You use this address in the settings of the real estate portal as the contact address for lead notifications.


The AI analysis extracts the following information from portal emails:

  • First name and last name — Split into separate fields
  • Email address — Of the potential buyer
  • Phone number — Automatically converted to international format (e.g., +34612345678)

After successful processing, the lead is created as a new contact in Tesoro CRM with the following details:

  • Name — First name and last name of the potential buyer
  • Email and phone — Contact details for follow-up
  • Message — The cleaned message as additional information
  • Lead source — Automatically set to “Portals” with a reference to the specific platform
  • Language — The detected language of the message

The system is designed to work reliably. Should something go wrong, the following safeguards are in place:

  • Duplicate emails are filtered — If a portal sends the same email twice, the lead is not created twice.
  • Temporary outages are resolved automatically — If the system is temporarily unavailable, emails are automatically reprocessed.
  • All emails are preserved — Every received email is securely stored. If something goes wrong with the processing, the Tesoro team can reprocess the email.

If you notice that leads are no longer coming in or that data is incorrect, please contact the Tesoro team.


The mailparser configuration is fully handled by the Tesoro team. You do not need to do anything yourself. For each real estate portal, the following is configured:

  • Which portal is connected
  • To which email address the leads are sent
  • How the data is processed