Made changes to how highest UID is used to update inbox, now stored in
shared preferences and not database