Mail2ERP
User Guide – How to Use AI Email to ERP Automation
Mail2ERP automatically imports customer orders and RFQs from emails directly into your ERP system. It reads your inbox (or the folders you choose) and does the rest — extracting data, validating information, and creating ERP entries. Save hours of manual data entry and eliminate human errors!
🎯 How Mail2ERP Works
Customer Email Arrives
Loads from Mail2ERP Folder
Mail2ERP
Processes and Validates
Imports to ERP
Moves to PROCESSED
Mail2ERP checks your inbox on the Run Schedule you choose (higher plans allow faster schedules, up to Highest priority) within the operating hours you set (07:00-16:00 on weekdays by default). When you move an email to a Mail2ERP folder, AI extracts the data, validates it, and automatically creates the corresponding entry in your ERP system – all within seconds!
⚙️ Three Intelligent Processing Phases
Mail2ERP uses a sophisticated three-phase process to transform your emails into structured ERP data with maximum accuracy.
Phase 1: Smart Email Categorization
Mail2ERP reads every incoming email and intelligently categorizes it based on content, sender, and your training. Emails are automatically sorted into:
- PROCESSED – Successfully imported customer emails
- INBOX (kept) – Known customers Mail2ERP couldn’t fully process automatically — stay in your INBOX so you still see them
- EXTERNAL – Optional — emails from unknown senders. Off by default (they stay in INBOX); enable Separate External in Mail2ERP settings to route them to this folder
- _VIP – VIP senders whose mail fails processing get a top-level priority folder so you spot them fast
- _TRASH/SPAM – Unwanted emails automatically filtered
- _TRASH/DUPLICATES – Already processed emails
Phase 2: Intelligent Data Extraction
Using advanced technology, Mail2ERP extracts all relevant information from both email text and attachments with incredible accuracy:
- Any file format — PDF, Excel, Word, CSV, HTML, images, and more
- Any document layout — no templates required. Each customer’s documents can look completely different — Mail2ERP adapts automatically
- OCR technology — Reads scanned documents, photos, and image-based PDFs
- All languages — including non-Latin scripts (Thai, Arabic, Japanese, Chinese, Russian, Hebrew, Korean, Hindi)
- Context awareness — Understands business terminology
- Smart validation — Catches errors and inconsistencies
Phase 3: Seamless ERP Import
Extracted data is classified, structured, and imported directly into your ERP system with complete traceability and zero manual effort:
- Automatic sorting – RFQs, orders, general communication, supplier, etc.
- Direct ERP integration – Works with many major ERP systems. We add more.
- Full audit trail – Every action is logged and traceable
- Email archival – Original emails safely stored (they can even be imported into your ERP)
- Updates every run – Changes appear on the next scheduled run
⚡ Processing Speed & Accuracy
The entire three-phase process completes in seconds, not minutes or hours. Mail2ERP processes emails faster than any human could while maintaining great accuracy.
📧 Mail2ERP Processing Folders
These folders tell Mail2ERP how to process your emails. Simply move emails to the appropriate folder, and AI handles the rest.
📂 _Mail2ERP/QUOTATION
Purpose: Import as Request for Quotation (Price Quotation in ERP)
Use when: an email was automatically imported as an order but is really a request for quotation. This teaches the system to remember this sender’s patterns.
Result: Mail2ERP extracts product details, quantities, customer info and creates a quotation in your ERP system
Destination: Moves to PROCESSED if successful; kept in INBOX if needs manual review. If the retry still fails, the email is forwarded to our admin for investigation.
📂 _Mail2ERP/ORDERS
Purpose: Import as Order (Sales Order in ERP)
Use when: an email was automatically imported as a quotation request but is really an order. This teaches the system to remember this sender’s patterns.
Result: Mail2ERP extracts order details, line items, pricing and creates a sales order in your ERP system
Destination: Moves to PROCESSED if successful; kept in INBOX if needs manual review. If the retry still fails, the email is forwarded to our admin for investigation.
📂 _Mail2ERP/DO_NOT_IMPORT
Purpose: Learn email patterns to exclude from processing
Use when: A sender sends emails that look like orders/RFQs but shouldn’t be processed (newsletters, promotional emails, automated notifications)
How it works: Mail2ERP analyzes the email pattern and learns to automatically skip similar emails from this sender in the future
Important: This is different from _Mail2ERP/SUPPLIER (or _AutoSPAM/SUPPLIER), which blocks processing of all emails from a sender. DO_NOT_IMPORT only skips emails that match the learned pattern.
Destination: Email stays in INBOX, but pattern is learned for future filtering
🌍 Any Format. Any Layout. Any Language.
Emails in all languages — including non-Latin scripts (Thai, Arabic, Japanese, Chinese, Russian, Hebrew, Korean, Hindi). Any file format, any document layout. Every PDF can look different. Every Excel has different columns. Mail2ERP adapts automatically — no templates required.
App interface available in 31 languages.
Folder Translation: When you select your language in Settings at BOTS4.me/bots → Settings → Billing Information → App Language, all Mail2ERP folders and AutoSPAM folders are automatically translated to your language. Language can be changed once per day.
🛡️ AutoSPAM Integration for Sender Control
When used with AutoSPAM, you get powerful sender control. AutoSPAM folders manage who can send you emails, while Mail2ERP folders control what gets processed.
🏭 _Mail2ERP/SUPPLIER (or _AutoSPAM/SUPPLIER) – Exclude Sender Completely
Purpose: Mark a sender so their emails are NEVER processed by Mail2ERP
Use when: You receive emails from suppliers/vendors that you don’t want imported into ERP
Result: All future emails from this sender bypass Mail2ERP processing entirely
Destination: Emails go directly to INBOX without any ERP processing
Works: Always (even without AutoSPAM subscription)
ℹ️ How to Remove SUPPLIER Status
Move any email from that sender to _AutoSPAM/ALLOW or _Mail2ERP/ALLOW: this removes SUPPLIER status together with the sender’s other AutoSPAM decisions (spam, VIP, custom lists). You can also press ALLOW on that sender’s row in the Logs tab at /bots or in _Mail2ERP/LOGS.
⚖️ SUPPLIER vs DO_NOT_IMPORT — When to Use Which?
SUPPLIER = Block the SENDER
Blocks ALL emails from this sender. None are ever processed by Mail2ERP.
Example: Your paper supplier sends invoices → mark as SUPPLIER → none of their emails ever reach Mail2ERP.
DO_NOT_IMPORT = Learn the PATTERN
Learns the email pattern and skips similar ones. Other emails from the same sender are still imported normally.
Example: Customer sends real orders (import!) but also order reminders → move reminder to DO_NOT_IMPORT → reminders skipped, real orders still imported.
⭐ VIP & Advanced Features (Requires AutoSPAM)
When you have both Mail2ERP and AutoSPAM active, you unlock these powerful features:
- VIP Priority Routing: VIP customers get special handling — unsuccessful imports go to the top-level
_VIPfolder for immediate attention - Non-Customer Routing: Non-customers stay in your
INBOXby default. Enable Separate External in Mail2ERP settings to route them to_Mail2ERP/EXTERNALinstead. - AI Spam Detection: Automatically identifies spam for unknown senders before they reach Mail2ERP
- Frequency-Based Filtering: Blocks senders who send too many emails too quickly
- Fake-sender Protection: Detects and blocks fake addresses pretending to be someone else
- Smart Routing: VIP customers get priority in both email delivery and ERP processing
Note: Basic features (ALLOW, SPAM, SUPPLIER) work even without AutoSPAM subscription.
🛡️ Why AutoSPAM + Mail2ERP Bundle?
Mail2ERP includes basic email control: manual ALLOW, REFUSE, and SPAM folders. These work without an AutoSPAM subscription.
For intelligent AI-powered filtering BEFORE emails reach your ERP — including frequency protection, fake-sender detection, smart text analysis, new sender analysis, and more — we recommend purchasing the AutoSPAM + Mail2ERP bundle.
⚠️ Without smart filtering, spam or phishing emails could end up as false entries in your ERP system.
🎯 Other AutoSPAM Folders That Work With Mail2ERP
These AutoSPAM folders control email delivery before Mail2ERP processing:
- _AutoSPAM/ALLOW or _Mail2ERP/ALLOW: Approve sender & reset all previous decisions (VIP, SUPPLIER, custom lists). Emails go to INBOX and can be processed by Mail2ERP
- _AutoSPAM/REFUSE: Mark as unknown sender – emails go to REFUSED folder for review
- _AutoSPAM/SPAM: Block sender forever – emails go straight to _TRASH/SPAM and are never processed
- _AutoSPAM/VIP: (Requires AutoSPAM) Mark as VIP — gets priority routing in both email and ERP processing
- Remove VIP status: Move any email from that sender to _AutoSPAM/ALLOW or _Mail2ERP/ALLOW. This resets all previous decisions (VIP, SUPPLIER, custom lists).
📤 Where Emails Go After Processing
After Mail2ERP processes your emails, they are automatically moved to destination folders based on the result.
✅ PROCESSED
Contains: Successfully imported emails
Meaning: Mail2ERP successfully extracted all data and created ERP entries
Action needed: None – these are fully processed. Review occasionally for accuracy.
📥 INBOX (kept for review)
Contains: Known-customer emails Mail2ERP couldn’t fully process automatically
Meaning: Mail2ERP couldn’t extract all required data or found ambiguities. The email is intentionally left in your INBOX so it stays visible.
Action needed: Review in your INBOX and either complete the ERP entry manually, or drag the email to _Mail2ERP/QUOTATION or _Mail2ERP/ORDERS to force a re-try (useful after you’ve added the missing product/contact to your ERP).
Skip cache: Mail2ERP remembers it tried and won’t re-process the same email every cron tick — the cache forgets after 14 days, or instantly when you drag the mail into a force-retry folder.
🌐 EXTERNAL (optional)
Contains: Emails from senders not in your customer database — only when Separate External is enabled in Mail2ERP settings.
Default behavior: Off. External-sender emails stay in your INBOX so nothing disappears from view.
Action needed: Review and decide if this is a new customer or should be ignored.
Enable in: Dashboard → Mail2ERP → Features → Separate External (available from Family tier).
⭐ _VIP
Contains: Failed emails from senders marked as VIP (via _AutoSPAM/VIP).
Meaning: Top-level priority folder — VIP mail bypasses the keep-in-INBOX rule so you spot it immediately.
Requires: AutoSPAM with VIP list enabled.
📥 INBOX
Contains: Regular emails, approved senders, and emails from SUPPLIER-marked senders
Meaning: Normal email delivery – these bypass Mail2ERP processing
With AutoSPAM: VIP emails go to the _VIP folder for priority attention
🎮 Interactive Demo – Try It!
Drag the email to different folders to see how Mail2ERP processes it. Click destination folders for more info.
📨 Sample Email
📂 Move Email To (drag target above)
📤 Email Goes To (clickable)
Successfully imported to ERP
Known-customer mail that needs your review
Non-customer mail — only if Separate External is on
Top-level priority folder for VIP senders
Regular email delivery
Blocked forever
💡 In the real system, Mail2ERP checks your inbox on your schedule, within your operating hours, and processes emails automatically when you move them to folders!
⚙️ Setup & Configuration
🎯 Quick Setup Guide
Setting up Mail2ERP takes just 5 minutes:
- Step 1: Go to BOTS4.me/bots and log in
- Step 2: Navigate to Settings → Mail2ERP
- Step 3: Add your email accounts and choose the folder Mail2ERP should import from
- Step 4: Configure your ERP connection (API credentials)
- Step 5: Select your language for automatic folder translation in Billing Information
- Step 6: Check what was imported – with Demo Mode enabled, nothing is created — disable Demo Mode when you’re ready to go live.
📧 Email Account Configuration
Supported Accounts: Gmail, Outlook, Office 365, Exchange, IMAP/SMTP, and any email provider
Folder Monitoring: By default, Mail2ERP monitors your main inbox. You can configure it to monitor specific subfolders.
Multiple Accounts: You can connect multiple email accounts and process them all through one Mail2ERP dashboard!
📨 Forward to Us — No Mailbox Connection Needed
You do not have to connect a mailbox at all. In BOTS4.me/bots → Settings → Mail2ERP, click Add Source and add the BOTS4.me Mailbox — one click, nothing to connect, no password. Then forward emails to mail2erp@bots4.me. While Demo Mode is on you get a preview by email; once you switch it off, Mail2ERP creates the quotation or sales order in your ERP for real. So we only need access to your ERP, never to your mailbox.
Who may forward: set it in Mail2ERP → Control → Forward to us – accept email from. Empty: only your account email address. Filled in: exactly the addresses you type (up to 6) — they replace your account address, so add it too if you also forward.
Before anything is written to your ERP we verify that the email really came from your address (DKIM). When your mail provider does not sign outgoing mail, you confirm the email once with one click. Every forwarded email is deleted from our mailbox right after processing — after 7 days at the latest if it could not be processed. Use it while you evaluate us, or for good if you prefer never to share mailbox access.
The same email forwarded twice is processed only once. With Demo Mode off, the sender gets a short receipt by email after each forwarded email: processed, or not processed and where to see why.
🔧 ERP Integration — Many Supported ERPs
Setup Location: ERP access is configured at BOTS4.me/bots → Settings → Mail2ERP → Access Manager
Supported ERPs: Odoo 13–19, ERPNext 15–16, Zoho (Books / Inventory), Dolibarr 23 and newer, Microsoft Dynamics 365 Business Central (online), QuickBooks Online, Xero and SAP Business One. Any other ERP with an API — SAP S/4HANA, Microsoft Dynamics 365 Finance / Sales, Oracle NetSuite and more — is connected on request.
Don’t see your ERP? Any ERP with an API is connected on request. Contact us.
🔑 Access Levels — Start Safely, Enable Gradually
Send test emails to your DEMO address. See how the system processes them. No real email or ERP access needed.
The system reads your real emails and sends you reports showing what it would do. No ERP changes.
Matches against your real ERP data (customers, products, pricing). Still no writes to your ERP.
Email + ERP Read + Write. Data imported directly into your ERP. Start here only when confident.
We recommend starting with Level 2 (email access only). Disable Demo Mode only when confident. First month is free.
Learn more: Visit BOTS4.me/demo for the Demo Mode guide.
📊 Dashboard Control & Monitoring
Complete Control: Set up and manage everything from our intuitive dashboard at BOTS4.me/bots
Real-Time Monitoring:
- Processing Statistics: Track how many emails are processed daily, weekly, and monthly
- Usage Tracking: Monitor your processing volume against the monthly allowance included in your subscription
- Success Rates: See accuracy metrics and identify areas for improvement
- AI/Non-AI Toggle: Switch between advanced AI extraction and simpler processing methods
- Error Notifications: Get alerts when emails need manual review or when issues occur
💡 Pro Tips
- Start Small: Begin with just RFQs or Orders, then expand to other document types
- Review unread INBOX hourly: Failed mails stay in INBOX (unread) — review and either complete the ERP entry manually, or drag to
_Mail2ERP/QUOTATION/_Mail2ERP/ORDERSto force a re-try - Use DO_NOT_IMPORT wisely: This helps AI learn WHAT not to process, improving accuracy over time
- Use SUPPLIER: This helps AI learn WHO not to process, improving accuracy over time
- Combine with AutoSPAM: Get the best results by using both products together for complete email automation
- Set up VIPs early: Mark your most important customers as VIP to ensure their emails get priority handling
🔧 Feature Toggles — What Each One Does
Enable or disable each feature individually at /bots → Control → Mail2ERP. Disabling unused formats can reduce processing time.
Artificial Intelligence
Off, Essential AI, Premium AI or Ultra (depending on your plan) — how much AI reads and sorts your emails; Off = rules only.
File Format Support
Extract order data directly from the email body text (not just attachments).
Native extraction from PDF attachments — invoices, orders, price lists.
Reads scanned documents, photographed orders, and image-based PDFs. Works with all languages including non-Latin scripts.
Extracts line items, quantities, and pricing from Excel spreadsheets.
Processes CSV file attachments with automatic column detection.
Extracts data from Word document attachments.
Processes HTML-formatted emails and HTML file attachments.
Extracts data from image-based documents (JPG, PNG, etc.).
Extracts data from the less common image formats — GIF, BMP, TIFF and WEBP — in addition to the standard JPG/PNG above. Useful when customers send scans in an unusual format.
Reporting & Control
Receive detailed processing reports after each run — what was imported, what needs review, any errors.
Smart Multi-Code Matching (Family+)
Match products by additional code types when present in your ERP. Reduces missed matches on RFQs that don’t quote your internal SKU.
📊 Understanding Your Logs
Access your logs at /bots → select Mail2ERP app → Logs tab
📬 Logs in Your Mailbox
- Where: every mailbox gets a LOGS folder inside the bot’s own folder, for example _Mail2ERP/LOGS. Each bot keeps its own.
- What: the same rows as the Logs tab, one message per row. Nothing is sent by email — the rows are written straight into the folder.
- Unread means it needs you: only rows that need your decision arrive unread. All other rows, warnings included, arrive already read.
- One-click buttons: rows about an email carry the same buttons as the dashboard. A button that files the email is named after the folder it goes to, for example ALLOW or SPAM. A button opens a short confirm page, no login needed, and works for 7 days. The result arrives as a new row, with an undo button where one exists.
- Decide from the log: a row that needs your decision also shows the names of the email’s attachments and its first few lines, so you rarely need to open the email itself.
- Housekeeping: the folder keeps the latest 100 rows for up to 30 days. The full log stays in your dashboard.
- Safe by design: genuine log messages exist only inside LOGS folders, never in your inbox, and the confirm page never asks for a password.
- Switch: Logs in your mailbox, in the bot’s feature list on the Control tab. On by default from the Personal plan.
An example of a log message in your mailbox. The buttons work for 7 days and open a short confirm page – no login needed.
📋 What Each Log Entry Shows
- Timestamp: When the processing occurred
- Sender email: Who sent the email
- Action taken: PROCESSED, kept in INBOX, _VIP, or EXTERNAL (if enabled)
- File formats detected: Which attachment types were found
- ERP import status: Whether data was successfully written to your ERP
🔍 Common Log Messages
… imported successfully (items: N)— the order or inquiry was written to your ERPPROCESSING— Email is being analyzed and extracted… left in INBOX — not a registered customer, nothing imported— the sender is not a customer in your ERP… no product codes found, left for manual review— the email needs your attention in your INBOX… was already imported earlier — duplicate create skipped— the same order was already processedCOMPLETED— Processing cycle finished
⚠️ What to Do on Errors
- Email connection errors: Check your email credentials at /bots → Settings
- ERP connection errors: Verify your ERP connection details and API access
- Import failures: Check if Demo Mode is disabled (Demo Mode ON prevents ERP writes)
- Persistent issues: Contact support at BOTS4.me/contact
Filter logs by level (success, info, warning, error) to quickly find what needs attention.
📅 Practical Workflow — What to Expect
Week 1 — Training Mode
Check your INBOX (unread) and _VIP folder several times daily — failed mails stay in INBOX for review. Move misclassified emails to the correct Mail2ERP folders (RFQ/ORDERS/DO_NOT_IMPORT) to force a re-try and teach the system. If you also run Supplier2ERP, it has its own pair — _Supplier2ERP/IMPORT and _Supplier2ERP/DO_NOT_IMPORT — for supplier confirmations. Mark non-processable senders as SUPPLIER (_Mail2ERP/SUPPLIER). The system learns from every correction.
Week 2+ — Maintenance Mode
The system has learned most sender patterns. Glance at unread INBOX once daily and _VIP whenever you want — accuracy improves continuously as the system learns.
🏆 Best Practice
Combine with AutoSPAM to filter spam before it reaches Mail2ERP. Set up VIP for your most important customers — their emails get priority handling.
❓ Frequently Asked Questions
What file formats does Mail2ERP support?
PDF, Excel, Word, CSV, HTML, images, and scanned PDFs via OCR. Works with all languages including non-Latin scripts. Any document layout — no templates required.
What ERPs are supported?
Live today: Odoo 13 to 19 (Community, Enterprise, Odoo.sh, Odoo Online), ERPNext 15 and 16, Zoho (Books / Inventory), Dolibarr 23 and newer, Microsoft Dynamics 365 Business Central (online), QuickBooks Online, Xero and SAP Business One. Any other ERP with an API — SAP S/4HANA, Dynamics 365 Finance / Sales, NetSuite and more — is connected on request.
What’s the difference between SUPPLIER and DO_NOT_IMPORT?
SUPPLIER blocks ALL emails from a sender — none are ever processed by Mail2ERP. DO_NOT_IMPORT learns the email PATTERN and skips similar emails in the future, but other emails from that sender are still imported normally. Use SUPPLIER for vendors whose emails should never reach your ERP. Use DO_NOT_IMPORT for specific email types (like order reminders) from customers whose real orders you DO want imported.
Can I test without affecting my ERP?
Yes! With Demo Mode enabled, Mail2ERP processes emails and shows you what it would do, but writes nothing to your ERP. Disable Demo Mode when you’re ready to go live. First month is free.
How do I exclude a sender from processing?
Move any email from that sender to _Mail2ERP/SUPPLIER (or _AutoSPAM/SUPPLIER). All their future emails will bypass Mail2ERP entirely.
How do I reverse any decision (VIP, etc.)?
Move any email from that sender to _AutoSPAM/ALLOW or _Mail2ERP/ALLOW. This resets all previous decisions (VIP, SUPPLIER, custom lists).
What happens to emails that can’t be fully processed?
Known-customer mails stay in your INBOX so you still see them. Unknown senders also stay in INBOX by default — enable Separate External in Mail2ERP settings to route them to the _Mail2ERP/EXTERNAL folder instead. VIP senders always go to the top-level _VIP folder for priority attention.
Do I need AutoSPAM with Mail2ERP?
Mail2ERP includes basic spam control (manual ALLOW, REFUSE, SPAM). For full AI-powered filtering before ERP import, we recommend the AutoSPAM + Mail2ERP bundle.
Can I process from multiple email accounts?
Yes, connect multiple email accounts at /bots → Settings → Mail2ERP.
How often does it process?
On the Run Schedule you choose in the Control tab, within the operating hours you set (07:00-16:00 on weekdays by default). Higher plans allow faster schedules, up to Highest priority.