--- layout: docs title: AccountStore edit_url: "https://github.com/nylas/N1/blob/master/src/flux/stores/account-store.coffee" ---

Summary

The AccountStore listens to changes to the available accounts in the database and exposes the currently active Account via current

Instance Methods

items()

Returns
Return Values

Returns an Array of Account objects

itemWithEmailAddress()

Returns
Return Values

Returns the Account for the given email address, or null.

current()

Returns
Return Values

Returns the currently active Account.