summaryrefslogtreecommitdiffstats
path: root/common/domain/mail.fbs
blob: d1205dfed3bd61247828b4c86e5e02fadccde41e (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
29
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;
  fullPayloadAvailable:bool = true;
}

root_type Mail;
file_identifier "AKFB";