feat(backend): implement step 4 — EmailContext and EmailReaderService
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
package com.condado.newsletter.model
|
||||
|
||||
import java.time.LocalDateTime
|
||||
|
||||
/**
|
||||
* A snapshot of a single email read from the shared company IMAP inbox.
|
||||
* Used as context when building the AI prompt.
|
||||
*/
|
||||
data class EmailContext(
|
||||
val from: String,
|
||||
val subject: String,
|
||||
val body: String,
|
||||
val receivedAt: LocalDateTime
|
||||
)
|
||||
Reference in New Issue
Block a user