files_frommail icon indicating copy to clipboard operation
files_frommail copied to clipboard

Enhancement: Send subject and body to Note apps

Open sunjam opened this issue 7 years ago • 6 comments

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.

sunjam avatar Feb 15 '18 23:02 sunjam

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

pbek avatar Feb 16 '18 05:02 pbek

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.

laurent22 avatar Feb 16 '18 14:02 laurent22

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

sunjam avatar Feb 18 '18 15:02 sunjam

@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 ?

ArtificialOwl avatar Feb 18 '18 16:02 ArtificialOwl

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

pbek avatar Feb 18 '18 19:02 pbek

@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

laurent22 avatar Feb 19 '18 18:02 laurent22