Set the 'Go next after move' flag
PUT/api/2.0/mail/settings/goNextAfterMoveEnabled
Sets a flag that specifies whether to go to the next message after moving/deleting the currently viewed or return to the current folder.
PUT/api/2.0/mail/settings/goNextAfterMoveEnabled
Sets a flag that specifies whether to go to the next message after moving/deleting the currently viewed or return to the current folder.