AugusteVN.Modules.EmailCampaigns.Templates 1.0.7

dotnet add package AugusteVN.Modules.EmailCampaigns.Templates --version 1.0.7
                    
NuGet\Install-Package AugusteVN.Modules.EmailCampaigns.Templates -Version 1.0.7
                    
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="AugusteVN.Modules.EmailCampaigns.Templates" Version="1.0.7" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="AugusteVN.Modules.EmailCampaigns.Templates" Version="1.0.7" />
                    
Directory.Packages.props
<PackageReference Include="AugusteVN.Modules.EmailCampaigns.Templates" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add AugusteVN.Modules.EmailCampaigns.Templates --version 1.0.7
                    
#r "nuget: AugusteVN.Modules.EmailCampaigns.Templates, 1.0.7"
                    
#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.
#:package AugusteVN.Modules.EmailCampaigns.Templates@1.0.7
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=AugusteVN.Modules.EmailCampaigns.Templates&version=1.0.7
                    
Install as a Cake Addin
#tool nuget:?package=AugusteVN.Modules.EmailCampaigns.Templates&version=1.0.7
                    
Install as a Cake Tool

AugusteVN.Modules.EmailCampaigns.Templates

Razor email templates for marketing emails with tracking pixel and unsubscribe link support.

Part of the AugusteVN Modules collection.


Template Components

MarketingEmailTemplate.razor

Razor component rendered as the HTML email body for marketing campaigns, newsletters, and triggered emails. Wraps the rendered Markdown-to-HTML body with unsubscribe and tracking elements.

Parameters:

Parameter Type Description
BodyAsHtml string The rendered HTML email body content
TraceId Guid Unique trace ID for metric tracking (opens, clicks, unsubs)
ApiBaseUrl string Base URL of the API for constructing proxy/tracking URLs
UnsubscribeProxyUrl string Proxied unsubscribe URL that records an Unsubscribed metric
PixelUrl string? URL of the tracking pixel image (defaults to brand logo)

Features:

  • Renders the full HTML email body with inline styles for email client compatibility
  • Includes a "Got it" prompt to improve deliverability by training spam filters
  • Embeds a proxied unsubscribe link (List-Unsubscribe header compliant)
  • Includes an invisible tracking pixel image for open-rate measurement via the Read metric
  • Proxy URLs ensure all link clicks and opens are tracked before redirecting

Output structure:

<div style="max-width:960px!important; font-size:1rem">
    {BodyAsHtml}
    <ul>
        <li>Please respond with <strong>"Got it"</strong> ...</li>
        <li>If this email landed in your promotions folder ...</li>
    </ul>
    <small>Not for you? <a href="{UnsubscribeProxyUrl}">Unsubscribe</a></small>
    <img src="{proxyUrl}" alt="logo-web.png">  
</div>

Installation

dotnet add package AugusteVN.Modules.EmailCampaigns.Templates

Dependencies

  • AugusteVN.Modules.EmailCampaigns._Shared
  • EmailCampaigns module overview
  • EmailCampaigns._Shared
  • EmailCampaigns.Api
  • EmailCampaigns.Database
  • EmailCampaigns.Features
  • EmailCampaigns._Shared.Spa
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows 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
1.0.7 82 8/9/2026
1.0.6 75 8/9/2026
1.0.2 84 8/8/2026
1.0.1 74 8/8/2026
1.0.0 82 8/8/2026