Notification System Review

All automated email notifications in TX Machine Rentals. Each email uses HTML templates with professional design, branding, and responsive layouts.

Total Notifications

9

Onboarding

3

Payment Related

3

Lifecycle

3

Rental Confirmation

To: Customer

When It's Sent:

Sent immediately after customer completes rental request and payment setup

Email Includes:

  • ✓Rental details (unit, rate, installation date)
  • ✓Payment information confirmation
  • ✓Next steps and timeline
  • ✓Contact information

Design: Green gradient header, organized info boxes, professional layout

Waitlist Confirmation

To: Customer

When It's Sent:

Sent when customer joins the waiting list

Email Includes:

  • ✓Waitlist placement confirmation
  • ✓Preferred start date and duration
  • ✓What to expect next
  • ✓Priority notification promise

Design: Purple gradient header, friendly tone, clear expectations

Unit Available Notification

To: Waitlist customers

When It's Sent:

Sent to waitlist customers when a unit becomes available

Email Includes:

  • ✓Unit availability announcement
  • ✓Rental package details
  • ✓Urgency messaging (first-come, first-served)
  • ✓Call-to-action to complete rental

Design: Exciting blue theme, clear CTAs, urgency indicators

Payment Reminder

To: Active rental customers

When It's Sent:

Sent 3 days before recurring monthly payment

Email Includes:

  • ✓Upcoming payment amount and date
  • ✓Payment method on file
  • ✓Days until charge
  • ✓Instructions to update payment if needed

Design: Yellow warning colors, clear payment details, helpful tone

Payment Success

To: Customer

When It's Sent:

Sent after successful monthly payment processing

Email Includes:

  • ✓Payment confirmation
  • ✓Transaction details (amount, date, method)
  • ✓Next payment date
  • ✓Link to payment history

Design: Green success gradient, receipt-style layout, reassuring

Payment Failed

To: Customer

When It's Sent:

Sent when monthly payment fails to process

Email Includes:

  • ✓Failed payment notification
  • ✓Action required steps
  • ✓Common failure reasons
  • ✓Urgent contact information

Design: Red alert gradient, clear action steps, problem-solving focus

Cancellation Confirmation

To: Customer

When It's Sent:

Sent when rental is cancelled

Email Includes:

  • ✓Cancellation confirmation
  • ✓Rental period summary
  • ✓Equipment pickup details
  • ✓Thank you message and return customer offer

Design: Neutral colors, professional closure, future opportunity

Rental Completion

To: Customer

When It's Sent:

Sent when rental period is completed

Email Includes:

  • ✓Completion confirmation
  • ✓Rental duration summary
  • ✓Pickup scheduling notice
  • ✓Feedback request and return customer incentive

Design: Professional completion theme, appreciation focus

Signed Agreement Copy

To: Customer

When It's Sent:

Sent immediately after customer signs rental agreement

Email Includes:

  • ✓Agreement confirmation
  • ✓Signed date and rental ID
  • ✓Full rental and payment details
  • ✓Legal binding notice

Design: Professional blue theme, document-style layout, legal clarity

Technical Implementation

Email Service

All emails are sent via SendGrid API using the sendEmail backend function.

Design System

HTML email templates with responsive tables, gradient headers, color-coded sections, and consistent TX Machine Rentals branding.

SMS Integration

Critical notifications (rental confirmation, waitlist availability) also send SMS alerts via Twilio.

Location

All notification logic is in components/notifications/NotificationService.js