Node.js wrapper for https://mail.gw/ API
npm i mail-gw-api-wrapper
mail.domains((result) => {
console.log(result);
})
mail.domain("domain id", (result) => {
console.log(result);
})
mail.create("user@example.com", "password", (result) => {
console.log(result);
});
mail.login("user@example.com", "password", (result) => {
console.log(result);
})
mail.logout((result) => {
console.log(result);
})
mailjs.me((result) => {
console.log(result);
})
mailjs.messages((result) => {
console.log(result);
})
mailjs.message("message id", (result) => {
console.log(result);
})
mailjs.deleteMessage("message id", (result) => {
console.log(result);
})