import { ObjectId } from "mongodb";

export default interface DBMail {
    _id: ObjectId;
    from: ObjectId | null;
    to: ObjectId;
    date: Date;
    subject: string;
    body: string;
    read: boolean;
}