catch (NoSuchAccountException nsae) {
long inboxFolderId = 0;
long draftFolderId = 0;
long sentFolderId = 0;
long trashFolderId = 0;
<BUG>Account account = AccountLocalServiceUtil.addAccount(
</BUG>
user.getUserId(), address, personalName, protocol,
incomingHostName, incomingPort, incomingSecure,
outgoingHostName, outgoingPort, outgoingSecure, login,

catch (NoSuchAccountException nsae) {
long inboxFolderId = 0;
long draftFolderId = 0;
long sentFolderId = 0;
long trashFolderId = 0;
return AccountLocalServiceUtil.addAccount(
user.getUserId(), address, personalName, protocol,
incomingHostName, incomingPort, incomingSecure,
outgoingHostName, outgoingPort, outgoingSecure, login,
