start to save mail from imap

This commit is contained in:
grimhilt
2023-02-26 17:23:52 +01:00
parent 0692f8caa5
commit b0a0fe2f83
11 changed files with 1895 additions and 0 deletions

13
back/api/mails.js Normal file
View File

@@ -0,0 +1,13 @@
const statusCodes = require("../utils/statusCodes.js").statusCodes;
/**
* Return all mailboxes and folders for an user
*/
function getMailboxes(req, res) {
const {token} = req.params;
const query = ``;
}
module.exports = {
getFolders,
}