owncloud/mail — pull request #366 by zinks- (2014-09-25 20:16:06+00:00)
Title: Messages for a newly created account now should load

Fix for issue in this comment : https://github.com/owncloud/mail/pull/333#issuecomment-56743291

I double-checked and in master it never loads the messages for any newly created account unless I click a folder.
Can you @DeepDiver1975 @PoPoutdoor @jancborchardt @Gomez thos issue ?

There was no request for /messages, so I figured the issue was in the javascript.
The second parameter of ``loadFoldersForAccount`` contains the id of the account for which messages should be loaded after the folder listing has been retreived.

What do you think ?