diff --git a/frontend/src/components/EmailEditor.vue b/frontend/src/components/EmailEditor.vue
index 24ace8f4..6310bc42 100644
--- a/frontend/src/components/EmailEditor.vue
+++ b/frontend/src/components/EmailEditor.vue
@@ -16,7 +16,7 @@
TO:
@@ -29,7 +29,7 @@
CC:
@@ -38,7 +38,7 @@
BCC:
@@ -163,6 +163,10 @@ const textEditor = ref(null)
const cc = ref(false)
const bcc = ref(false)
+const toEmails = ref(modelValue.value.email ? [modelValue.value.email] : [])
+const ccEmails = ref([])
+const bccEmails = ref([])
+
const editor = computed(() => {
return textEditor.value.editor
})
@@ -171,7 +175,7 @@ function removeAttachment(attachment) {
attachments.value = attachments.value.filter((a) => a !== attachment)
}
-defineExpose({ editor, cc, bcc })
+defineExpose({ editor, cc, bcc, toEmails, ccEmails, bccEmails })
const textEditorMenuButtons = [
'Paragraph',