psa: added onlyUnread parameter for getNext/PreviousID