summaryrefslogtreecommitdiffstats
path: root/common/domain/mail.fbs
blob: 737a671beb28a1dc891d6daaea375e821c192557 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
namespace Sink.ApplicationDomain.Buffer;

table MailContact {
    name: string;
    email: string;
}

table Mail {
  uid:string;
  folder:string;
  sender:MailContact;
  to:[MailContact];
  cc:[MailContact];
  bcc:[MailContact];
  subject:string;
  date:string;
  unread:bool = false;
  important:bool = false;
  mimeMessage:string;
  draft:bool = false;
  trash:bool = false;
  sent:bool = false;
  messageId:string;
  parentMessageId:string;
}

root_type Mail;
file_identifier "AKFB";