Lets get started with building your first interactive email (We call them PowerEmails). The only requirements are Google Chrome, a Gmail account and about 5 minutes . If you run into any issues or need more info, please email devsupport@powerinbox.com
How do PowerEmails work?
At a high level, a PowerEmail is a normal email (StaticEmails) that runs a PowerEmail App inside it that contains interactive content. The PowerEmail App is rendered as an IFRAME that loads a HTTPS URL you specify that replaces the body of your StaticEmails to convert them into PowerEmails. So when your users open your PowerEmail they see your interactive web content instead of StaticEmail content.
You turn your StaticEmails into a PowerEmail by inserting some non visible HTML into your email template. We refer to this non visible HTML as the PowerEmail App EmbedCode.
This PowerEmail App EmbedCode is not visible to the email recipient, but PowerInbox client uses the PowerEmail App EmbedCode to extract information including how to derive the URL for your interactive content. The PowerInbox client validates that the sender is approved to run interactive content and then replaces the body of the StaticEmail with an IFRAME that loads the HTTPS URL derived from the PowerEmail App EmbedCode.
Overview
- First we get you setup with the PowerInbox Toolkit so you can start building PowerEmail Apps
- Then we get you setup with the Developer Repository so that you can see your PowerEmails while you are building them
- We then go ahead and build out your PowerEmail App so you can generate your PowerEmail App EmbedCode
- Next we use the PowerEmail App EmbedCode to send your PowerEmail
- And finally, you get to view your first PowerEmail running inside Gmail.
So, lets get started, shall we …
1. Set up the PowerInbox Toolkit
First you need to get the PowerInbox Toolkit. At present, this Toolkit is only available in the beta version of the PowerInbox extension for Chrome. Lets go ahead and setup the Toolkit.
- In Chrome, go to http://powerinbox.com and install PowerInbox

- Once PowerInbox is installed, open a new tab in Chrome and go to chrome://extensions/ to get to the list of extensions. Look for PowerInbox in that list and click the Options link

- And now you are in the PowerInbox Toolkit

2. Enable the Developer repository
Next we need to enable the developer repository so that the PowerEmails you build are visible to you.
- Open a new tab and login to Gmail
- Open the PowerInbox Menu and enable Developer Mode

- Click Manage Repositories and enable the Developer Team Apps repository

- And now you are all set to see the PowerEmails you build
3. Build the PowerEmail App
Ok, now that setup is out of the way, lets build the PowerEmail App for your PowerEmail. Once you have the PowerEmail App you can get the PowerEmail App EmbedCode we discussed earlier.
Your first PowerEmail will enable a ‘game’ called HelloWorld to run inside your email. You can play HelloWorld on the web at https://apps.powerinbox.com/helloworld?appname={YOURFIRSTNAME} Go ahead and click the link to check out the game.
And we’re back, so lets see how we get this game running inside email
- Switch to the tab that contains the PowerInbox Developer Toolkit and click the Create New App button to bring up the Configuration Screen for your PowerEmail App

- Inside the General section
- Inside the Contexts section
- Inside the embed context section
- Scroll down to find the inbox context. Inside the inbox context section
- You are done with configuring the PowerEmail App so hit the Save and Close button at the top of the configuration screen

- You will see a new App section appear called Local. Inside that section you will find Hello World, the PowerEmail App you just built.

Send the PowerEmail
Now that you have your PowerEmail App, lets get the PowerEmail App EmbedCode and send your first PowerEmail.
- Click the Embed Code button

- This will open the Generate Embed Code page in a new tab that contains the PowerEmail App EmbedCode
- Set Email Address to your gmail address
- Set Path to
&appname=John&test=true.(ReplaceJohnwith your first name) - Click the Send button to send the test email to your gmail account

View the PowerEmail
You are all done with building and sending your first PowerEmail, now its time to enjoy the fruits of your labor.
- Open a new tab and go to the Gmail account you sent the test email to
- Hit refresh until you see an email from PowerInbox with a subject that looks like DC9C9E1EA20E44F2818DECA1B6DB6239 Test Mail 3/9/2013 5:02:21 PM You will notice that in the inbox there is an icon for that email to draw attention to it and increase the open rate.

- Open the email and you should see the Hello World game running inside it and you can play the game

Congrats!
You have just created and sent your first PowerEmail! This was just a tutorial so the next step is to get your existing product to send PowerEmails.


