From 1c8bb550d99a53e5bcb042932590ef1c3f991d6c Mon Sep 17 00:00:00 2001
From: KM Koushik
Date: Thu, 4 Sep 2025 04:46:16 +1000
Subject: [PATCH] update to useSend
---
README.md | 4 ----
apps/web/src/server/api/routers/domain.ts | 12 ++++++------
2 files changed, 6 insertions(+), 10 deletions(-)
diff --git a/README.md b/README.md
index e6bcd97..8e8b482 100644
--- a/README.md
+++ b/README.md
@@ -24,10 +24,6 @@
-
-

-
-
## About this project
As most of email products out there, useSend also uses Amazon SES under the hood to send emails. We provide an open and alternative way to send emails reliably and cheaply with a great dashboard. You can also use useSend manage contacts and send bulk emails(newsletter, product updates etc). We will take care of the subscriptions.
diff --git a/apps/web/src/server/api/routers/domain.ts b/apps/web/src/server/api/routers/domain.ts
index 0129448..11c0570 100644
--- a/apps/web/src/server/api/routers/domain.ts
+++ b/apps/web/src/server/api/routers/domain.ts
@@ -29,7 +29,7 @@ export const domainRouter = createTRPCRouter({
ctx.team.id,
input.name,
input.region,
- ctx.team.sesTenantId ?? undefined
+ ctx.team.sesTenantId ?? undefined,
);
}),
@@ -62,7 +62,7 @@ export const domainRouter = createTRPCRouter({
z.object({
clickTracking: z.boolean().optional(),
openTracking: z.boolean().optional(),
- })
+ }),
)
.mutation(async ({ input }) => {
return updateDomain(input.id, {
@@ -100,10 +100,10 @@ export const domainRouter = createTRPCRouter({
teamId: team.id,
to: user.email,
from: `hello@${domain.name}`,
- subject: "Unsend test email",
- text: "hello,\n\nUnsend is the best open source sending platform\n\ncheck out https://unsend.dev",
- html: "hello,
Unsend is the best open source sending platform
check out unsend.dev",
+ subject: "useSend test email",
+ text: "hello,\n\nuseSend is the best open source sending platform\n\ncheck out https://usesend.com",
+ html: "
hello,
useSend is the best open source sending platform
check out usesend.com",
});
- }
+ },
),
});