From 30111b86f7a13ed5c3ada6565c184ba47048173d Mon Sep 17 00:00:00 2001 From: alma Date: Thu, 15 Jan 2026 23:40:46 +0100 Subject: [PATCH] widget courrier refactor --- components/email.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/email.tsx b/components/email.tsx index bd74282..5865cb7 100644 --- a/components/email.tsx +++ b/components/email.tsx @@ -82,7 +82,7 @@ export function Email() { // Fetch emails from all accounts in parallel const emailPromises = accounts.map(async (account) => { try { - const url = `/api/courrier?folder=INBOX&page=1&perPage=5&accountId=${encodeURIComponent(account.id)}${forceRefresh ? '&refresh=true' : ''}`; + const url = `/api/courrier?folder=INBOX&page=1&perPage=33&accountId=${encodeURIComponent(account.id)}${forceRefresh ? '&refresh=true' : ''}`; const response = await fetch(url); if (!response.ok) { const errorMsg = `Failed to fetch emails for ${account.email}`;