SigParser 1.0.5

There is a newer version of this package available.
See the version list below for details.
dotnet add package SigParser --version 1.0.5                
NuGet\Install-Package SigParser -Version 1.0.5                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SigParser" Version="1.0.5" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SigParser --version 1.0.5                
#r "nuget: SigParser, 1.0.5"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install SigParser as a Cake Addin
#addin nuget:?package=SigParser&version=1.0.5

// Install SigParser as a Cake Tool
#tool nuget:?package=SigParser&version=1.0.5                

Parse raw email chains and email signatures from either HTML or plain text emails. Multiple languages supported.

Signup for a free account at https://www.sigparser.com/ to get an API key.

FAQ:
What can it find? SigParser tries to parse raw emails and pull out everything interesting. SigParser will split the emails on the email headers generated by various email clients and provide a collection of emails as text and also the raw HTML lines if the email was HTML. Additionally, it will discover signatures of email senders in the email chain bodies and provide details about the person such as title, phone numbers, fax, address and more.

How do I use this? Create an instance of SigParser.Client class and pass it the API key or set the API key property. Then call the Parse(email) async method. For the email object, you need to provide either the HTML or Plain text body or both. If you provide both SigParser will prefer HTML first and if blank then plaintext. For signature parsing it is important to provide the display name “from_name” (first and last name) of the sender which you almost always get for emails. The from_address is also good to provide.
See below for a code example.

Why use an API vs just embedding the parsing logic in the library? Over time email signature patterns change and email clients change their headers. For example, in 2014 Gmail started using a massively different header for about two months. Instead of making you update your code every week or month, calling an API lets you get the latest algorithm changes without having to update your code.

Is SigParser storing my emails? No, SigParser doesn’t store emails you send to it via this package. We receive the payload, process it and return the response.

Code Example

var client = new SigParser.Client(ApiKey);
var result = client.Parse(new SigParser.EmailParseRequest
{
plainbody = @"
Hi John,

Lets get coffee tomorrow.

Thanks
Steve Johnson
888-333-3323 Mobile
San Diego, CA
",
from_name = "Steve Johnson",
from_address = "sjohnson@example.com"
}).Result;

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net46 is compatible.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
3.0.15 395 2/8/2023
3.0.14 550 4/28/2022
3.0.13 342 12/30/2021
3.0.0 329 12/30/2021
2.0.5 61,099 6/16/2022
2.0.4 453 6/16/2022
2.0.3 443 6/16/2022
2.0.2 469 6/16/2022
2.0.1 6,985 12/15/2020
2.0.0 5,577 8/14/2019
1.0.15 1,548 8/6/2019
1.0.14 572 8/6/2019
1.0.13 560 8/6/2019
1.0.12 583 8/4/2019
1.0.11 561 8/2/2019
1.0.10 622 5/6/2019
1.0.9 606 4/2/2019
1.0.8 641 3/29/2019
1.0.7 610 3/9/2019
1.0.6 607 3/9/2019
1.0.5 923 8/3/2018
1.0.4 820 8/3/2018
1.0.3 881 8/3/2018