Perl6 binding for Notmuchmail
Perl 6
Switch branches/tags
Nothing to show
Latest commit 441c419 Jul 4, 2017 @goneri goneri clarify the way the resources are freed
There is no need to trace the sub resources, notmuch already do a deep
clean up when the foo_destroy() functions are called.
Failed to load latest commit information.
.travis.yml travis: use zef to pull the deps Jul 4, 2017
META6.json test: do not redeclare $message Jul 2, 2017

Perl6 binding for Notmuchmail

Build Status

Notmuchmail ( ) is a mail indexation tool. This Perl6 module provides binding for a limited subset of its API.

The library has been tested with Notmuch 0.18, it should also work with older version.


use v6;
use Email::Notmuch;
my $database ='/home/goneri/Maildir');
my $query =$database, 'tag:todo');
my $messages = $query.search_messages();
for $messages.all() -> $message {
    say $message.get_header('from');
    say $message.get_tags().all();


The project uses the GPLv3 or greater and is Copyright 2015-2016 Gonéri Le Bouder