diff --git a/packages/backend/server/src/__tests__/__snapshots__/mailer.spec.ts.md b/packages/backend/server/src/__tests__/__snapshots__/mailer.spec.ts.md
index 6119f6c2f7..171a78b8a4 100644
--- a/packages/backend/server/src/__tests__/__snapshots__/mailer.spec.ts.md
+++ b/packages/backend/server/src/__tests__/__snapshots__/mailer.spec.ts.md
@@ -235,7 +235,10 @@ Generated by [AVA](https://avajs.dev).
> Your request to join Test Workspace has been approved
`␊
- ␊
+ ␊
␊
Your request to join␊
- Test Workspace has been accepted.␊
- You can now access the team workspace and collaborate with other␊
- members.␊
+ Test Workspace␊
+ has been accepted. You can now access the team workspace and␊
+ collaborate with other members.␊
␊
␊
␊
@@ -281,7 +290,10 @@ Generated by [AVA](https://avajs.dev).
> Your request to join Test Workspace was declined
`␊
- ␊
+ ␊
␊
Your request to join␊
- Test Workspace has been declined␊
- by the workspace admin.␊
+ Test Workspace␊
+ has been declined by the workspace admin.␊
␊
␊
␊
@@ -326,7 +344,10 @@ Generated by [AVA](https://avajs.dev).
> New request to join Test Workspace
`␊
- ␊
+ ␊
␊
␊
- Request to join Test Workspace␊
+ Request to join␊
+ Test Workspace␊
␊
␊
␊
@@ -368,8 +396,14 @@ Generated by [AVA](https://avajs.dev).
style="font-size:15px;line-height:24px;margin:24px 0 0;font-weight:400;font-family:Inter, Arial, Helvetica, sans-serif;color:#141414">␊
test@test.com has requested␊
to join␊
- Test Workspace. As a␊
- workspace owner/admin, you can approve or decline this request.␊
+ Test Workspace. As a workspace owner/admin, you can approve or decline␊
+ this request.␊
␊
␊
␊
@@ -409,7 +443,10 @@ Generated by [AVA](https://avajs.dev).
> test@test.com accepted your invitation
`␊
- ␊
+ ␊
␊
test@test.com has joined␊
- Test Workspace␊
+ Test Workspace␊
␊
␊
␊
@@ -454,7 +497,10 @@ Generated by [AVA](https://avajs.dev).
> test@test.com invited you to join Test Workspace
`␊
- ␊
+ ␊
␊
test@test.com invited you␊
- to join Test Workspace␊
+ to join␊
+ Test Workspace␊
␊
␊
␊
@@ -551,7 +604,10 @@ Generated by [AVA](https://avajs.dev).
> test@test.com left Test Workspace
`␊
- ␊
+ ␊
␊
␊
- Member left Test Workspace␊
+ Member left␊
+ Test Workspace␊
␊
␊
␊
@@ -583,7 +646,13 @@ Generated by [AVA](https://avajs.dev).
␊
test@test.com has left workspace␊
- Test Workspace␊
+ Test Workspace␊
␊
␊
␊
@@ -595,7 +664,10 @@ Generated by [AVA](https://avajs.dev).
> You have been removed from Test Workspace
`␊
- ␊
+ ␊
␊
You have been removed from␊
- Test Workspace. You no longer␊
- have access to this workspace.␊
+ Test Workspace. You no longer have access to this workspace.␊
␊
␊
␊
@@ -640,7 +717,10 @@ Generated by [AVA](https://avajs.dev).
> You are now the owner of Test Workspace
`␊
- ␊
+ ␊
␊
␊
- You have been assigned as the owner ofTest Workspace. As a workspace owner, you have full control over this workspace.␊
␊
@@ -685,7 +769,10 @@ Generated by [AVA](https://avajs.dev).
> Your ownership of Test Workspace has been transferred
`␊
- ␊
+ ␊
␊
You have transferred ownership of␊
- Test Workspace. You are now a␊
- collaborator in this workspace.␊
+ Test Workspace. You are now a collaborator in this workspace.␊
␊
␊
␊
@@ -1075,7 +1167,10 @@ Generated by [AVA](https://avajs.dev).
> You are now an admin of Test Workspace
`␊
- ␊
+ ␊
␊
You have been promoted to admin of␊
- Test Workspace. As an␊
- admin, you can help the workspace owner manage members in this␊
- workspace.␊
+ Test Workspace. As an admin, you can help the workspace owner manage members␊
+ in this workspace.␊
␊
␊
␊
@@ -1158,7 +1258,10 @@ Generated by [AVA](https://avajs.dev).
> Your role has been changed in Test Workspace
`␊
- ␊
+ ␊
␊
Your role in␊
- Test Workspace has been␊
- changed to␊
+ Test Workspace␊
+ has been changed to␊
collaborator. You can continue to collaborate in this␊
workspace.␊
␊
@@ -1242,7 +1351,10 @@ Generated by [AVA](https://avajs.dev).
> [Action Required] Important: Your workspace Test Workspace will be deleted soon
`␊
- ␊
+ ␊
␊
␊
- Your Test Workspace team␊
- workspace expired on␊
+ Your␊
+ Test Workspace␊
+ team workspace expired on␊
1/1/2025. All workspace␊
data will be permanently deleted on␊
1/31/2025 (180 days after␊
@@ -1340,7 +1459,10 @@ Generated by [AVA](https://avajs.dev).
> [Action Required] Final warning: Your workspace Test Workspace will be deleted in 24 hours
`␊
- ␊
+ ␊
␊
␊
- Your Test Workspace team␊
- workspace data will be permanently deleted in 24 hours on␊
+ Your␊
+ Test Workspace␊
+ team workspace data will be permanently deleted in 24 hours on␊
1/31/2025. To prevent data␊
loss, please take immediate action:␊
␊
@@ -1510,7 +1639,10 @@ Generated by [AVA](https://avajs.dev).
> Your workspace Test Workspace has been deleted
`␊
- ␊
+ ␊
␊
All data in␊
- Test Workspace has been␊
- permanently deleted as the workspace remained expired for 180␊
- days. This action cannot be undone.␊
+ Test Workspace␊
+ has been permanently deleted as the workspace remained expired␊
+ for 180 days. This action cannot be undone.␊
␊
␊
␊
@@ -1585,7 +1723,10 @@ Generated by [AVA](https://avajs.dev).
> [Action Required] Your Test Workspace team workspace will expire soon
`␊
- ␊
+ ␊
␊
␊
- Your Test Workspace team␊
- workspace will expire on␊
+ Your␊
+ Test Workspace␊
+ team workspace will expire on␊
1/1/2025. After expiration,␊
you won't be able to sync or collaborate with team members.␊
Please renew your subscription to continue using all team␊
@@ -1670,7 +1818,10 @@ Generated by [AVA](https://avajs.dev).
> Your Test Workspace team workspace has expired
`␊
- ␊
+ ␊
␊
␊
- Your Test Workspace team␊
- workspace expired on␊
+ Your␊
+ Test Workspace␊
+ team workspace expired on␊
1/1/2025. Your workspace␊
can't sync or collaborate with team members. Please renew␊
your subscription to restore all team features.␊
@@ -1754,7 +1912,10 @@ Generated by [AVA](https://avajs.dev).
> Your workspace has been upgraded to team workspace! 🎉
`␊
- ␊
+ ␊
␊
␊
- Test Workspace has been␊
- upgraded to team workspace with the following benefits: ␊
+ Test Workspace␊
+ has been upgraded to team workspace with the following␊
+ benefits: ␊
✓ 100 GB initial storage + 20 GB per seat ␊
✓ 500 MB of maximum file size ␊
✓ Unlimited team members (10+ seats) ␊
diff --git a/packages/backend/server/src/__tests__/__snapshots__/mailer.spec.ts.snap b/packages/backend/server/src/__tests__/__snapshots__/mailer.spec.ts.snap
index cece7998e8..de44f7bd0e 100644
Binary files a/packages/backend/server/src/__tests__/__snapshots__/mailer.spec.ts.snap and b/packages/backend/server/src/__tests__/__snapshots__/mailer.spec.ts.snap differ
diff --git a/packages/backend/server/src/mails/common.ts b/packages/backend/server/src/mails/common.ts
index 0b274e2935..0f84e31a57 100644
--- a/packages/backend/server/src/mails/common.ts
+++ b/packages/backend/server/src/mails/common.ts
@@ -7,4 +7,5 @@ export const TEST_USER: UserProps = {
export const TEST_WORKSPACE: WorkspaceProps = {
name: 'Test Workspace',
+ avatar: 'https://app.affine.pro/favicon-192.png',
};
diff --git a/packages/backend/server/src/mails/components/workspace.tsx b/packages/backend/server/src/mails/components/workspace.tsx
index db4b154206..e5d9555e85 100644
--- a/packages/backend/server/src/mails/components/workspace.tsx
+++ b/packages/backend/server/src/mails/components/workspace.tsx
@@ -11,8 +11,8 @@ export const Workspace = (props: WorkspaceProps) => {
);
};