0.1.2 • Published 4 years ago

mailbuddy v0.1.2

Weekly downloads
6
License
MIT
Repository
github
Last release
4 years ago

MailBuddy

E-mail automation simplified.

Example

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 <ebon@mailing.rewe.de>'))
            .forEach(mail => console.log(mail));
    });
}

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

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago