Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/webd97/mailbuddy


https://github.com/webd97/mailbuddy

Last synced: 19 days ago
JSON representation

Awesome Lists containing this project

README

        

# MailBuddy
E-mail automation simplified.

## Example
```js
async function main() {
const buddy = await MailBuddy.create({
host: 'outlook.office365.com',
user: '...',
password: '...',
port: 993,
tls: true
});

buddy.addListener((mail) => {
mail.filter(mail => mail.headers.from.includes('REWE eBon '))
.forEach(mail => console.log(mail));
});
}

main().catch(console.error);
```