Skip to content

Bootta11/todoist_by_mail

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Todoist by mail

Simple NodeJS application that will listen for new mails on account defined in imap config(in config.js file). On receiving new mail it will add new task to Todoist account(defined in config.js file).

Mail form:

to: [email protected]
cc: [email protected]
subject: Todoist project name
mailbody first line: task text
mail body second line: date string in format (optional)
mail body third line: priority of task(1-4) (optional)

For example:
If we have Todoist account with project named "Work", collaborator at that project with mail "[email protected]" and mail that this nodejs application monitoring is "[email protected]". Then we can add new task send mail with next content:

to: [email protected]  
cc: [email protected]  
subject: Work  
mail body first line: My new task  
mail body second line (optional): today  
mail body third line (optional): 3  

Installation

Requirments:

After all requirments resolved follow next steps to run todoist_by_mail:

  • First clone todoist_by_mail repository:
    git clone https://github.com/Bootta11/todoist_by_mail.git

  • Move to cloned directory

  • Install all NodeJS packages:
    npm install

  • Edit config.js(change to your own parameters)

  • Run todoist_by_mail:
    node app.js

About

Add Todoist task by sending mail on mail you define

Resources

License

Stars

Watchers

Forks

Packages

No packages published