Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥
TypeScript aiai-agentsai-crawlerai-scrapingai-searchcrawlerdata-extractionhtml-to-markdownllmmarkdownscraperscrapingweb-crawlerweb-dataweb-data-extractionweb-scraperweb-scrapingweb-searchwebscraping
Update style of AI agent email.
Eric Ciarla13e7aa24ee4d
diff --git a/apps/api/src/controllers/v2/agent-signup.ts b/apps/api/src/controllers/v2/agent-signup.tsindex ffbc1bba7..db7a9734c 100644--- a/apps/api/src/controllers/v2/agent-signup.ts+++ b/apps/api/src/controllers/v2/agent-signup.ts@@ -343,16 +343,22 @@ export async function agentSignupController(req: Request, res: Response) {reply_to: "[email protected]",subject: `An AI agent "${agent_name}" created an API key under your email — Firecrawl`,html: `- <p>Hey there,</p>- <p>An AI agent called <strong>${escapeHtml(agent_name)}</strong> just created a Firecrawl API key and listed your email as the account holder.</p>- <p>The key is currently sandboxed with a <strong>50-credit limit</strong>. To link it to your account and unlock your full plan, please confirm:</p>- <p><a href="${confirmUrl}" style="display:inline-block;padding:12px 24px;background:#f97316;color:#fff;text-decoration:none;border-radius:6px;font-weight:bold;">Confirm & Link Key</a></p>- <p>If you did not authorize this, you can block the key:</p>- <p><a href="${blockUrl}">Block this key</a></p>- <p>This confirmation link expires on <strong>${deadline.toLocaleDateString("en-US", { weekday: "long", year: "numeric", month: "long", day: "numeric" })}</strong>.</p>- <p>If you have questions, reach out to us at <a href="mailto:[email protected]">[email protected]</a>.</p>- <br/>- <p>Thanks,<br/>Firecrawl Team</p>+ <div style="font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif; line-height: 1.6; color: #333; max-width: 600px; margin: 40px auto; padding: 20px;">+ <div style="margin-bottom: 30px;">+ <img src="https://www.firecrawl.dev/brand/firecrawl-wordmark-500.png" alt="Firecrawl" style="max-width: 150px; height: auto;">+ </div>+ <p style="margin: 15px 0;">Hey there,</p>+ <p style="margin: 15px 0;">An AI agent called <strong>${escapeHtml(agent_name)}</strong> just created a Firecrawl API key and listed your email as the account holder.</p>+ <p style="margin: 15px 0;">The key is currently sandboxed with a <strong>50-credit limit</strong>. To link it to your account and unlock your full plan, please confirm:</p>+ <p style="margin: 30px 0;">+ <a href="${confirmUrl}" style="background-color: #FA5D19; color: white; padding: 12px 30px; text-decoration: none; border-radius: 6px; display: inline-block; font-weight: 600; font-family: Arial, 'Helvetica Neue', Helvetica, sans-serif;">Confirm & Link Key</a>+ </p>+ <p style="margin: 15px 0;">If you did not authorize this, you can block the key:</p>+ <p style="margin: 15px 0;"><a href="${blockUrl}" style="color: #FF6B35;">Block this key</a></p>+ <p style="margin: 15px 0;">This confirmation link expires on <strong>${deadline.toLocaleDateString("en-US", { weekday: "long", year: "numeric", month: "long", day: "numeric" })}</strong>.</p>+ <p style="margin: 15px 0;">If you have questions, reach out to us at <a href="mailto:[email protected]" style="color: #FF6B35;">[email protected]</a></p>+ <p style="margin: 15px 0;">Best,<br>The Firecrawl Team 🔥</p>+ </div>`,});if (sendResult.data?.id) {