using System;
using System.Collections.Generic;

namespace InABox.Mail
{
    public interface ICoreMailSummary
    {
        string ID { get; }

        DateTime Date { get; }

        string From { get; set; }

        string Subject { get; set; }

        IEnumerable<string> To { get; set; }
    }

    public interface ICoreMailMessage : ICoreMailSummary
    {
        IEnumerable<Tuple<string, byte[]>> Attachments { get; set; }

        IEnumerable<string> BCC { get; set; }

        string Body { get; set; }

        bool IsHTML { get; set; }

        IEnumerable<string> CC { get; set; }

        void Save();
    }
}