Tutorial: Sending mails using ManyWho Email

You can build an app in ManyWho that sends emails to your contacts or customers, without the need to integrate any third-party email service or client in your apps. You can import the ManyWho Email Service – a default mail service that comes with your ManyWho tenant – to your app, and use the Message element to send mails by populating the To, From, Subject, and Body fields.

Let’s get building!

If you want to take a closer look, click on the images to enlarge them. Have a question? Click the Support button on the bottom right-hand corner of this page to ask.

This is what our canvas will look like, once we are done:


What we need

  • ManyWho username/password. (If you do not have a ManyWho login, please click here to get one.)
  • ManyWho Email service (Make sure you have authorized the use of Amazon Simple Email Service. You can do this by clicking on the link sent to you by Amazon when you signed up for a new ManyWho account.)
  1. Click LOG IN to login to the ManyWho Drawing Tool.
  2. Click New Flow.
  3. From the dropdown menu Which Service should be used for authentication select ManyWho Identity Service and click Continue.

    This opens the Flow: New Flow screen where we will name our flow.
  4. Enter a name for the flow in the Name field. Example: You’ve got mail.
  5. Select Anyone can run this flow in the Access menu.
  6. Select None from the Social feed for collaboration menu.
  7. Click Start Building!

    This opens the canvas where we will build our flow.
  8. Click Shared Elements on the right-hand-side navigation.
  9. Select Services.
  10. Click Import Existing.
  11. Click the Import button next to ManyWho Email.
  12. Click Close.
  13. Drag a Message element from the sidebar to the canvas.
  14. In the Configuration Panel, copy-paste Send mail in the Name text field and click New Message Action.
  15. Select ManyWho Email from the The Service to send the Message drop-down menu.
  16. Click the Select button next to Send Email Simple.
  17. Click Select or create a new Value in the Value field for Body.
  18. Click Create a new Value.
  19. The Name field says Body in the Value: Body dialog box. If you like, you can rename the value according to your own naming convention.
  20. The What kind of Value is this? field should be String.

    If you want to send rich text, select Content instead.
  21. In the Default Value field, enter the body copy of the email you want to send. For example: Hi All, The Mark 22 models will be ready to ship soon. Cheers, Tony.
  22. Click Save.
  23. Click Select or create a new Value in the Value field for From.
  24. Click Create a new Value.
  25. The Name says From. You can edit it to anything you like.
  26. The What kind of Value is this? field should be String.
  27. Enter your email address in the Default Value field.
  28. Click Save.
  29. Click Select or create a new Value in the Value field for Subject.
  30. Click Create a new Value.
  31. The Name says Subject. You can edit it to anything you like.
  32.  The What kind of Value is this? field should say String.
  33. In the Default Value field, copy-paste the text Hello.
  34. Click Save.
  35. Click Select or create a new Value in the Value field for To.
  36. Click Create a new Value.
  37. The Name field says To. You can edit to anything you like.
  38. The What kind of Value is this? field should say String.
  39. Enter the email address of the person you want to send the email to in the Default Value field. You can add multiple email addresses separated by a semi-colon.
  40. Click Save.
  41. Click Apply Message Action.
  42. Click Save Message.

    This is what the canvas looks like now:
  43. Hover your mouse on StartThe mouse pointer changes from a crossbar to a hand.
  44. Drag an arrow from Start to Verify.
  45. In the Configuration Panel, type Go in the Name text field, and click Save Outcome.

    This is what the canvas looks like now:
  46. Drag a Step element from the sidebar, to the canvas.
  47. In the Configuration Panel, copy-paste the text Mail Sent in the Name text field.
  48. In the Content Editor, copy-paste the text The mail has been sent. Thank you for your time.
  49. Click Save Step.

    This is what the canvas looks like now:
  50. Hover your mouse on Send mailThe mouse pointer changes from a crossbar to a hand.
  51. Drag an arrow from Send mail to Mail sent.
  52. In the Configuration Panel, type Go in the Name text field, and click Save Outcome.

That was fast!

And… we are done building. This is what the canvas looks like now:

Let’s run the flow now, and see how easily it converts into an app.


Appchievement!

It took us around 20 minutes to build an app that can send out emails.

When we run the app, the Message element sends out the email:

The flow then moves to the Step element, that confirms the email has been sent.


If you need to take a closer look, click on the images to enlarge them. Have a question? Click the Help button on the bottom right-hand corner of this page to ask.

Check out the ManyWho glossary for a definition of terms and key concepts that appear in the ManyWho website, Drawing Tool, technical documentation, blogs, and marketing communications.

Sending unsolicited email may be considered spamming. Please make sure you comply with the CAN-SPAM Act and any other local laws as may be relevant.