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

Email integration #8

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Email integration #8

wants to merge 3 commits into from

Conversation

tonyblank
Copy link

First iteration of an email integration. A user can send an email to Taarifa with

subject: status
body:
<waterpoint_id>
<0 for not functional, 1 for functional>

example:

subject:
status
body:
0202309906WP03
1

@kynan
Copy link
Member

kynan commented May 25, 2014

This looks quite sensible to me. How would an end-to-end workflow look like? Were you planning to use context.io for that?

@tonyblank
Copy link
Author

Yes, planning on using Sendgrid to send transactional emails as feedback
from the emails sent to Taarifa - success/failure - if failure, then
feedback + help on what went wrong. In most cases, I'd imagine it'd be
syntax of the email sent. Next steps will be to implement that, with a sort
of "online" help..

My thoughts are you could send an email with a subject of "help" and get a
single email with an overview of the various actions supported.

Or you could send an email with a subject and if the body is "help" then
you'd just get back a detailed email on precisely how to use that specific
action. For what I built this weekend, the "status" action - where you can
simply create a request to change the "functional/not functional" status of
a water point, you could send an email with a subject of "status" and a
body of "help" and get back instructions on the format of the body to
update that action.

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

Successfully merging this pull request may close these issues.

2 participants