feat: improve verification email subject and content
Update email verification subject line to be more personal and inviting by
including the landlord's name. Also add the property location name to the
email body to provide better context for the recipient.
- Subject changed from "Please verify your e-mail address" to
"{ownerName} has invited you to rezije.app"
- Added location name to email body for clarity
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -57,7 +57,7 @@ export async function sendVerificationRequests(db: Db, budget: number): Promise<
|
||||
const html = `
|
||||
<p>Hello ${location.tenantName || 'there'}!</p>
|
||||
|
||||
<p>You have received this e-mail because your landlord <strong>${ownerName}</strong> wants to send you rent and utility bills invoices via rezije.app</p>
|
||||
<p>You have received this e-mail because your landlord <strong>${ownerName}</strong> wants to send you rent and utility bills invoices for ${location.name} via rezije.app</p>
|
||||
|
||||
<p><strong>rezije.app</strong> is an online app which helps property owners to manage expenses related to properties they lease.</p>
|
||||
|
||||
@@ -74,7 +74,7 @@ export async function sendVerificationRequests(db: Db, budget: number): Promise<
|
||||
|
||||
const success = await sendEmail({
|
||||
to: location.tenantEmail,
|
||||
subject: 'Please verify your e-mail address',
|
||||
subject: `${ownerName} has invited you to rezije.app`,
|
||||
html
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user