<ul class="inbox">
<li class="email">
<span class="sender-name">Nick Thomson</span>
<span class="subject">Merge my code, please!</span>
<span class="body">You left without checking the pull requests</span>
<span class="sent-on">2014-04-25</span>
</li>
<li class="email">
<span class="sender-name">Test</span>
<span class="subject">Test Subject</span>
<span class="body">This is a body</span>
<span class="sent-on">1991-04-00</span>
</li>
<li class="email">
<span class="sender-name">asdfsdfsdf</span>
<span class="subject">asdfsdfsdf</span>
<span class="body">asdfsdfsdfsdfsdfsdf sdfsdfsdfsdf</span>
<span class="sent-on">fsdfsdf</span>
</li>
</ul>
var emails = [
{to: "kalon@cloudspace.com", from: "nick@cloudspace.com", body: "this is text"},
{to: "someone@cloudspace.com", from: "another@email.name", body: "more text"},
{to: "etc@etc.com", from: "sadpanda@something.com", body: "more text"},
{to: "a@a.com", from: "emails@arelame.com", body: "why are we building this?"}
];
{
id: int,
subject: string,
from: {
name: string,
address: string
},
to: string,
content: string,
status: string,
sentOn: date,
lastViewedOn: date
}