mozilla-b2g/gaia-email-libs-and-more — pull request #8 by asutherland (2012-07-30 21:16:15+00:00)
Title: properly mark dirty blocks as dirty, add tests, add limited db migration

@mozsquib Check it, yo.

Especially check the bit where my re-creation logic is:
self.tryToCreateAccount(
{
displayName: accountDef.identities[0].name,
emailAddress: accountDef.name,
password: accountDef.credentials.password
},

I know you ignore the displayName, but it doesn't seem like there's any harm in providing it.