Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement: Send subject and body to Note apps #10

Open
sunjam opened this issue Feb 15, 2018 · 6 comments
Open

Enhancement: Send subject and body to Note apps #10

sunjam opened this issue Feb 15, 2018 · 6 comments

Comments

@sunjam
Copy link

sunjam commented Feb 15, 2018

Enhancement request: Send subject and body of email to Nextcloud compatible note apps such as @LukasReschke Nextcloud Notes, @pbek QownnotesAPI, @laurent22 Joplin, or @cweiske Grauphel.

@pbek
Copy link
Member

pbek commented Feb 16, 2018

QOwnNotes would get the note if it was stored in Nextcloud Notes

@laurent22
Copy link

For Joplin, if the note is copied to the synced folder it should work. I can provide the exact format if it helps. Resources (eg. file attachments) would have to be copied to the ".resource" directory.

@sunjam
Copy link
Author

sunjam commented Feb 18, 2018

Here are a couple other Nextcloud apps with hopes of receiving data from emails, which might need a separate request, but I’ll add here for reference.

Email to Tasks issue #128 @raimund-schluessler
Email to Nextcloud Deck card issue #392

@ArtificialOwl
Copy link
Member

@pbek @laurent22 : what if I generate an event dispatcher after the creation of the local file ? could you catch it and do whatever it needs to be done with the fresh new file ? copy it, or create a local share/link ?

@pbek
Copy link
Member

pbek commented Feb 18, 2018

QOwnNotes or QOwnNotesAPI does not do any note file syncing @daita...

@laurent22
Copy link

@daita, I would not know how to handle this as I'm not familiar with Nextcloud source code. The format is plain text so if a copy is placed in the sync directory it will be picked up by all connected Joplin clients.

The format is something like this, which I can document if needed:

Title of the note

Body of the note, that
can span multiple lines

id: 00a4b16b6fa0436d9ab262f55c100f50
parent_id: 7799deeade774f4e8c7738c8c1764b9b
created_time: 2014-07-22T23:44:17.000Z
updated_time: 2017-08-20T20:25:24.795Z
is_conflict: 0
latitude: 0.00000000
longitude: 0.00000000
altitude: 0.0000
author: 
source_url: 
is_todo: 1
todo_due: 0
todo_completed: 1406258523000
source: evernote.mobile.android
source_application: net.cozic.joplin-cli
application_data: 
order: 1406072657000
user_created_time: 2014-07-22T23:44:17.000Z
user_updated_time: 2014-07-22T23:44:17.000Z
encryption_cipher_text: 
encryption_applied: 0
type_: 1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants