![]() |
#1 |
Junior Member
![]() ![]() Posts: 9
Karma: 150
Join Date: Oct 2021
Device: Kobo Clara HD
|
![]()
Hi folks,
Inspired by the send to kindle functionality I've taken this small endeavour to create something similar for kobo devices. It's built in Go (my first program actually) and used bits and pieces of other solutions like KoboCloud, kobo-rclone and wallabako. The way it works is by using Gmail trick that allows to send an email to user+kobo@gmail.com and the email is received on the user@gmail.com account. This greatly simplifies any attempt to detect which emails are to be processed by the kobo device. It's available here https://github.com/clisboa/KoboMail Would appreciate if anyone takes a look at it and let me know of improvements . I already have in mind using fbink to give more user feedback on what's happening behind the scenes, limiting the attachment types (it blindly saves any attachment) and allowing other email account types. Have fun ![]() Kind regards, clisboa |
![]() |
![]() |
![]() |
#2 |
Alive'n'Reading
![]() Posts: 43
Karma: 70
Join Date: Dec 2008
Location: uk
Device: Kobo Libra H20, Kobo Libra 2, Paperwhite 5 SE
|
deleted
Last edited by ccadi; 10-11-2021 at 07:05 PM. Reason: found a better solution, don't wish to engage |
![]() |
![]() |
![]() |
#3 |
Junior Member
![]() ![]() Posts: 9
Karma: 150
Join Date: Oct 2021
Device: Kobo Clara HD
|
New version which now uses optionally NickelDbus to trigger the library rescan without human intervention and also presents dialogs to inform the user how many ebooks were processed.
|
![]() |
![]() |
![]() |
#4 |
Junior Member
![]() ![]() Posts: 9
Karma: 150
Join Date: Oct 2021
Device: Kobo Clara HD
|
New version available:
* added hability to configure email search criteria by subject tag * added hability to limit which filetypes we get from the emails found * users can choose to run KoboMail automatically via UDEV rules (whenever Kobo device gets wifi) or manually via NickelMenu * NickelDbus usage now requires new version 0.2.0 for dialog (if not present only logs will be written) |
![]() |
![]() |
![]() |
#5 |
Member
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 17
Karma: 41372
Join Date: Jan 2013
Device: Kindle Paperwhite
|
This is so cool,I'll try it later.
|
![]() |
![]() |
![]() |
#6 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Jan 2022
Device: kindle paperwhite 5
|
This is incredibly useful to me. One thing I really miss on Kobo is the ability to automatically download email attatchments. With help of KoboMail, one can automatically parse RSS News and push to Kobo for offline reading. The automatic fetching is so important to me, as I am not always connectted to Wifi on the way.
|
![]() |
![]() |
![]() |
#7 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Apr 2025
Device: Kobo
|
Hi,
About this email_flag_type = "subject" email_flag = "[MyKobo]" Is there any way to configure the script to load the attachment regardless of what is written in the subject? |
![]() |
![]() |
![]() |
#8 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,514
Karma: 78910202
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
Quote:
You might check out this fork off his project which does seem a bit more active --> https://github.com/bjw-s-labs/KoboMail |
|
![]() |
![]() |
![]() |
#9 |
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Apr 2025
Device: Kobo
|
Thanks
|
![]() |
![]() |
![]() |
#10 |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 41
Karma: 1158
Join Date: Nov 2014
Location: Austria
Device: Libra Colour, Mini, Aura One, Pyrus mini
|
Hi,
I am wondering if someone can help me here... My setup: Kobo Libra Colour (most recent firmware) When i look at the config file for KoboMail one can see this:https://github.com/bjw-s-labs/KoboMail Code:
# email account
imap_user = "user@domain.tld"
# for gmail you should use the following instructions
# gmail app password. you will need to generate a password specifically for KoboMail
# this can be done here: https://support.google.com/mail/answer/185833?hl=en-GB
# other email services please review their configuration options
imap_pwd = "password"
# IMAP folder to process
imap_folder = "INBOX"
# there's two methods KoboMail can identify emails destined to be imported into you're Kobo device:
# - plus: where the email server allows sending emails to user+flag@server.com (like gmail)
#email_flag_type = "plus"
#email_flag = "kobo"
# - subject: where KoboMail will search for emails with a subject like [flag] or $flag$ .
# We recommend using something unique so there's no false positives, for example
# if you just put Kobo you might be allowing KoboMail to detect regular emails from Rakuten Kobo
email_flag_type = "subject"
email_flag = "[MyKobo]"
How do i specify a subfolder? in my setup, any mail addressed to localpart+flag@.... will be put in INBOX.flag eg. a mail sent to user+kobo@... will be saved in INBOX.kobo but, no matter wich format i use for the imap_folder (INBOX.kobo; INBOX\kobo; INBOX/kobo; .INBOX.kobo.; etc.) - Kobomail ony checks INBOX as folder (according to the logfile Kobomail provides) any idea would be apreciated! thx Last edited by DaRon; 07-14-2025 at 04:59 AM. |
![]() |
![]() |
![]() |
#11 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,514
Karma: 78910202
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
I've not tried this on the Kobo but I've been experimenting with an imap client under linux.
The trick seems to be that the Kobo inbox folder is actually referred to as [Mailbox]/Kobo |
![]() |
![]() |
![]() |
#12 | |
Enthusiast
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 41
Karma: 1158
Join Date: Nov 2014
Location: Austria
Device: Libra Colour, Mini, Aura One, Pyrus mini
|
thanks but i dont get it.
when i configure my mailserver, that the "+" mails are in INBOX only and specify Code:
imap_folder = "INBOX" So, i dont know, what you mean by saying: Quote:
|
|
![]() |
![]() |
![]() |
#13 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,514
Karma: 78910202
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
Sprry; I'd thought you were using gMail as your mail provider.
|
![]() |
![]() |
![]() |
Tags |
email, golang, kobo, kobomail, send2kobo |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Metadata not updating to Kindle when trying to send ebooks through email | sweetypie | Library Management | 3 | 07-28-2020 10:36 PM |
Adding a shortcut to [Send via email to my Kindle email address]? | jteodoro | Calibre | 7 | 04-30-2020 10:55 AM |
Unable to send via email, manually or send to device | Colc | Calibre | 3 | 11-16-2019 01:44 AM |
Help needed: Send ebooks via email | rfog | Onyx Boox | 3 | 08-17-2012 03:27 AM |
Only send news to some devices or ignore some devices? | barium | Devices | 3 | 07-23-2011 10:01 PM |