MycroftAI / mycroft-core

Mycroft Core, the Mycroft Artificial Intelligence platform.
https://mycroft.ai
Apache License 2.0
6.51k stars 1.27k forks source link

sending email with own email server #1343

Closed JarbasAl closed 1 week ago

JarbasAl commented 6 years ago

the current send email method uses Mycroft's api, privacy conscious users would want to use their own email server

this would also allow to send email to other persons instead of only to self

i am currently using yagmail package for this, what would be the best way to integrate this into core?

proof of concept: https://github.com/JarbasAl/jarbas-core/blob/email/mycroft/api/__init__.py#L183

MatthewScholefield commented 6 years ago

The purpose of send_email is to make a hassle-free way for skills to communicate with the user via email. Because of this, I think we should make sure that the user doesn't need to give their email username and password for receiving anything.

For privacy conscious users, I think it would make sense to host their own email endpoint that is something like a flask script that uses yagmail.SMTP. What do you think?

JarbasAI commented 6 years ago

i think you shouldn't be able to read / send all our mails as a default ...

i'm duplicating the home backend locally as that seems the best approach https://github.com/JarbasAl/personal-mycroft-backend/

there are just too many privacy leaks, most recently metrics collecting all our transcriptions and the send email method

JarbasAI commented 6 years ago

why not do something like this by default

https://github.com/JarbasAl/skill-dictation

https://github.com/JarbasAl/skill-dictation/blob/master/__init__.py#L82

NathanLKing commented 6 years ago

Hi @JarbasAl Love your idea about this, did you get it to function in Mycroft?

Nathan

forslund commented 1 week ago

Closing Issue since we're archiving the repo