Skip to main content

How to find and extract links from an email

If you are looking to extract one or multiple link URLs from within your email - whether that is the body, headers, or attachments of emails follow the steps below. Keep in mind that information within a hyperlink cannot be extracted, only what's inside the emails. 

First, choose the Data Source of the data - this can be the Subject, Body, Attachment, or Headers of the email - in the example below it is the BODY of the email.

Selecting BODY as the data source in Mailparser parsing rule setup

If there is only one email address in the content of the email you can then simply add in the filter for Find Entities Links (URL & Title)
Applying Find Entities Links filter to extract URLs and titles

This will find any links within the entire original content of the email - if there are other links within the content you do not want to extract, then before applying this filter you may want to add in a start position and end position filter to isolate the area of the email where the required link is located. Once the Find Links filter is applied you will see a table returned with the Links URLs and Titles.

Parsed output showing table of extracted URLs and their titles

New Design

Step 1:Step 1 of new design showing link extraction configuration

Step 2:Step 2 of new design showing Find Links filter applied

Was this article helpful?
4 out of 9 found this helpful

Still stuck?

Send us your inbox name and a sample email.

Submit a request