google-app-engineemailconfidential

anonymous and confidential app design


I presently have two twin apps, TellMeStraight and SuggestionDrop which work but with a small flaw about which this question is directed. The two apps are identical except that some of the wording of TellMeStraight is oriented to a communication with an individual and the wording of SuggestionDrop is directed to communication with a company/organization. The purpose of both apps is to allow an (A) individual or company/organization to engage in confidential/anonymous conversations with their (B) students/clients/customers/members/etc.

Here is the problem. While communications from A to B and from B to A are made via a completely anonymous web link, the (email) communications from B to A appear to come from me, not from A, and that can seem disorienting to A in using this system. The problem is that gae only allows emails to be sent from the app owner, not the app user. You can somewhat tell the problem from the commented out line in the code below; I got system errors when I tried to use the commented out line. (Btw, I have altered my own email address below for security.)

class SendMessage(webapp.RequestHandler):
    def post(self):
        ID_id = self.request.get('ID')
        handle = self.request.get('handle')
        handle = ''.join(handle.split())
        comment = self.request.get('comment')
        key = db.Key.from_path("Person", ID_id)
        person = Person.get(key)
        user_address = person.address
        #sender_address = person.address
        sender_address = 'example@mail.com'
        subject = person.title

So my question is, do you have any suggestions about how this app could be re-designed to continue to use gae but to remove this problem? (For example, could google "documents" be used or could my return email address be omitted somehow?)


Solution

  • Another option is to send emails from the app's own email addresses. Any address anything@appid.appspotmail.com (where appid is your app's app ID) is a valid email address for your app, which you can both send and receive mail on.