Giter Site home page Giter Site logo

p6-email-notmuch's Introduction

Perl6 binding for Notmuchmail

Build Status

Notmuchmail ( https://notmuchmail.org/ ) 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.25 and greater, it does not work anymore with the older version.

Example

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

License

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

p6-email-notmuch's People

Contributors

goneri avatar samcv avatar zoffixznet avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

p6-email-notmuch's Issues

Test failure with perl6 2018.06

There seems to be some problem with the installation or test:

===> Searching for: Email::Notmuch
===> Testing: Email::Notmuch:ver<0.6>
Cannot write to a read-only database.
# Failed test at t/01_api.t line 63

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.