Mailspring/packages/nylas-sync/syncback_tasks/move-to-folder.imap.js

17 lines
394 B
JavaScript

class MoveToFolderIMAP {
constructor(account, syncbackRequest) {
this._account = account;
this._syncbackRequest = syncbackRequest;
}
description() {
return `MoveToFolder`;
}
run(db, imap) {
console.log("----------------------- RUNNING MOVE TO FOLDER IMAP");
imap.getBoxes().then(console.log)
return Promise.resolve();
}
}
module.exports = MoveToFolderIMAP