Examples
Examples Library
See Contacted in action with these real-world examples. Each example showcases different capabilities, from simple notifications to complex multi-section emails with content images, data visualization, and rich formatting.
Note: Your company branding (logos, headers, footers) is automatically applied from your branding settings. These examples focus on email content and functionality.
Example 1: Welcome Email with Hero Image
Use Case: New user onboarding with engaging hero imagery Complexity: ⭐⭐⭐ Medium Features: Hero image placement, personalization, onboarding flow
Code
contacted.send(
subject="Welcome to DevTools Pro - Let's get you started!",
from_email="welcome@devtools.com",
to_email="sarah.johnson@example.com",
prompt="""
Welcome email for a new DevTools Pro subscriber. Use welcome_hero as a prominent
banner image showcasing our platform. Include their subscription details and
next steps to get started. Keep the tone friendly and encouraging with clear
action items for getting started.
""",
data={
"user_name": "Sarah Johnson",
"company_name": "Acme Corp",
"plan_name": "DevTools Pro",
"monthly_price": "49",
"trial_days": "14",
"welcome_hero": "https://devtools.com/assets/welcome-hero.jpg",
"dashboard_url": "https://app.devtools.com/dashboard",
"support_url": "https://devtools.com/support",
"setup_guide": "https://docs.devtools.com/getting-started"
}
)What makes this interesting:
Hero image integration that showcases the platform visually
Personalized onboarding with specific next steps
Clear value proposition with trial and pricing details
Example 2: E-commerce Order Confirmation
Use Case: Multi-item order with product images and shipping details Complexity: ⭐⭐⭐⭐ Medium-High Features: Multiple product images, pricing tables, shipping timeline
Code
What makes this interesting:
Multiple product images with coordinated pricing data
Visual celebration with success banner imagery
Complete order lifecycle from confirmation to tracking
Rich shipping details with timeline and tracking
Example 3: Security Alert - Password Reset
Use Case: Security-focused transactional email with clear urgency Complexity: ⭐⭐ Simple-Medium Features: Security messaging, time-sensitive content, clear CTAs
Code
What makes this interesting:
Security-first messaging with transparency details
Time-sensitive urgency with clear expiration
Trust-building elements like request details and IP tracking
Dual audience handling (legitimate users vs potential security threats)
Example 4: Event Invitation with Rich Media
Use Case: Professional conference invitation with detailed agenda and visuals Complexity: ⭐⭐⭐⭐⭐ High Features: Multiple content images, complex agenda data, speaker information
Code
What makes this interesting:
Rich visual storytelling with banners, speaker grids, and venue imagery
Complex multi-day agenda with detailed scheduling
Professional event marketing with amenities and logistics
Multiple content images serving different purposes
Comprehensive event information in digestible format
Example 5: Executive Business Report with Data Visualization
Use Case: Quarterly business review with charts and executive summary Complexity: ⭐⭐⭐⭐⭐ Very High Features: Multiple data charts, executive formatting, complex data presentation
Code
What makes this interesting:
Executive-level data visualization with multiple charts and infographics
Comprehensive business narrative combining quantitative and qualitative insights
Professional report formatting designed for bo
Last updated