Developer & DevOps

Search emails by specific criteria using single queries

6 nodes 278 134 Automatic trigger
Download

Workflow Description

Automate email searches by defining custom criteria such as sender, subject, or date range, then process and act on results programmatically without manual checking. Ideal for filtering important messages or extracting data from received emails efficiently.

How it works

  1. 1.Trigger the automation manually with your search parameters
  2. 2.Process and format the search criteria using code logic
  3. 3.Send an HTTP request to your mail server with formatted parameters
  4. 4.Receive and structure the returned email results

Use cases

  • Find all emails from a specific client and extract contact or order details
  • Locate invoices or documents sent within a date range automatically
  • Filter messages containing keywords for compliance or archival purposes

Requirements

  • Email server or service with HTTP API support
  • Clear understanding of available search operators and filters
  • Secure credentials for authentication with your mail server

Service Value

Ready-made workflow template for automation delivery and service execution.

Apps Used

Manual Trigger Note Code HTTP Request

Details

Trigger Automatic trigger
Nodes 6
Apps 4
Views 278
Downloads 134

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (6)

When clicking "Execute Workflow"

Manual Trigger

#1

Sticky Note

Sticky Note

#2

Sticky Note1

Sticky Note

#3

Sticky Note2

Sticky Note

#4

Authenticates to your Icypeas account

Code

#5

Run email search (single)

HTTP Request

#6