#pragma once #include #include #include struct mail { std::string filename; /* metadata */ int64_t timestamp; std::string sender; std::vector receipient; std::string subject; const bool operator<(const mail& left) { return this->timestamp < left.timestamp; } void remove(); };