diff --git a/app/courrier/page.tsx b/app/courrier/page.tsx index 0ccd8a2a..c0efc0be 100644 --- a/app/courrier/page.tsx +++ b/app/courrier/page.tsx @@ -1671,6 +1671,22 @@ export default function CourrierPage() { attachments={attachments} setAttachments={setAttachments} handleSend={handleSend} + onSend={(email) => { + // Handle the sent email + console.log('Email sent:', email); + setShowCompose(false); + }} + onCancel={() => { + setShowCompose(false); + setComposeTo(''); + setComposeCc(''); + setComposeBcc(''); + setComposeSubject(''); + setComposeBody(''); + setShowCc(false); + setShowBcc(false); + setAttachments([]); + }} /> {renderDeleteConfirmDialog()}