aboutsummaryrefslogtreecommitdiff
path: root/src/server/Model/Mail.hs
blob: 20addee97f177f3ff09c9454ead00258074e3ba0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
module Model.Mail
  ( Mail(..)
  ) where

import Data.Text (Text)
import qualified Data.Text.Lazy as LT

data Mail = Mail
  { from :: Text
  , to :: [Text]
  , subject :: Text
  , plainBody :: LT.Text
  , htmlBody :: LT.Text
  } deriving (Eq, Show)