#include "emailmanager.h"
#include <QDebug>
#include <QFile>

EmailManager::EmailManager(QObject *parent)
    : QObject(parent)
{
}

MailItem EmailManager::getMailItemById(qint64 id) const
{
    Q_UNUSED(id);
    qDebug() << "[EmailManager] getMailItemById (stub)";
    return MailItem();
}

QString EmailManager::getStorageDirectory() const
{
    qDebug() << "[EmailManager] getStorageDirectory (stub)";
    return QString();
}

QString EmailManager::getEmailHtmlById(qint64 id) const
{
    Q_UNUSED(id);
    qDebug() << "[EmailManager] getEmailHtmlById (stub)";
    return QString("<html><body><p>GMime not available</p></body></html>");
}

QString EmailManager::convertEmlToHtml(const QString& emlFilePath) const
{
    Q_UNUSED(emlFilePath);
    qDebug() << "[EmailManager] convertEmlToHtml (stub)";
    return QString();
}

bool EmailManager::sendEmail(const QString& to, const QString& subject, const QString& body)
{
    Q_UNUSED(to);
    Q_UNUSED(subject);
    Q_UNUSED(body);
    qDebug() << "[EmailManager] sendEmail (stub)";
    return false;
}

#include "emailmanager.moc"