Coder Social home page Coder Social logo

f213 / selfmailbot Goto Github PK

View Code? Open in Web Editor NEW
139.0 5.0 30.0 376 KB

Telegram bot forwarding messages to the inbox

Home Page: https://selfmailbot.co

License: MIT License

Python 80.89% HTML 6.28% Dockerfile 10.24% Makefile 2.59%
python telegram telegram-bot email gtd gtd-assistant gtd-applications bot python3 python36

selfmailbot's Introduction

Selfmailbot — the bot that sends all messages to your inbox

CircleCI uptime

Useful for GTD and email geeks.

Installation

This bots works as free-for-all SaaS at selfmailbot.co, but you are free to build your own bot from this source code.

The bot app is dockerized, but if you want to run the bot on the local machine, you are going to need this:

  • Python 3.6
  • Redis
  • Celery
  • Mailgun account

Configuration

Configure the bot through the environment variables (or the .env file):

BOT_TOKEN=100500:S3cr37T0k3n
MAILGUN_DOMAIN=mail.your.bot.addrress
MAILGUN_API_KEY=key-s3cr3t
MAILGUN_FROM=Note to self <[email protected]>
CELERY_BROKER_URL=redis://localhost:6379

Hacking

PR's are welcome

selfmailbot's People

Contributors

dependabot-preview[bot] avatar dependabot[bot] avatar f213 avatar grepto avatar kuntashov avatar renovate[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

selfmailbot's Issues

Add email confirmation via chat with bot

It would be nice to have a feature to confirm email just sending confirmation key back into chat with selfmailbot.

It will allow not to deploy web app and not to setup domain for it and that is more convinient for personal bot installation.

Обработка текстовых ссылок

Привет.
Хочу предложить улучшение функциональности по работе с ссылками.
Сейчас при отправке сообщения, которое содержит текстувую ссылку (Рис. 1), приходит письмо только с тексом, но без самой ссылки (Рис. 2).

Рис. 1
Снимок экрана 2020-01-22 в 12 54 16

Рис. 2
Снимок экрана 2020-01-22 в 12 54 55

Using another email

Hello, I am newbie to Python but I found your bot pretty useful. I am using dockerized one. I need to change email where it sends the messages. Tried "Stop and block bot" button, it asks to enter email after /start command but if I enter new one, it sends it to old email, so the bot is still attached to old email. Tried various commands like /restart but didn't helped. Sorry if my question is dummy but could your give me a solution?:) Thanks in advance.

how i can change email in bot?

. I need to change email where it sends the messages. Tried "Stop and block bot" button, it asks to enter email after /start command but if I enter new one, it sends it to old email, so the bot is still attached to old email. Tried various commands like /restart but didn't helped.I need to change my regular email to things

Thanks in advance.

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

poetry
pyproject.toml
  • flask ^3.0.0
  • peewee ~3.17.0
  • pystmark ~0.5.3
  • python ~3.12
  • python-dotenv ^1.0.0
  • python-telegram-bot ^20.7
  • redis ^5.0.1
  • sentry-sdk ~1
  • uvicorn ^0.29.0
  • ipython ^8.19.0
  • mypy ^1.8.0
  • ruff ^0.4.0
  • toml-sort ^0.23.1
  • watchdog ^3.0.0

  • Check this box to trigger a request for Renovate to run again on this repository

Проблема с отправкой сообщений которые содержат картинки.

Ситуация: Есть сообщение, которое содержит текст и картинку, которое пересылаем боту.
Текущий результат: на почту приходит только картинка.
Было бы круто, если бот присылал и картинку, и текст.

Пример сообщения:
image

Письмо:
image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.