import type { Email } from '@inject/graphql/fragments/Email.generated'

const getForwardContent = (email: Email, to: string) => `

----- Forwarded message -----
From: ${email.sender.address}
To: ${to}
Date: ${new Date(email.timestamp).toUTCString()}


${email.content.raw}
`

export default getForwardContent
