updated inbox last sync to only update on successful sync (close #33)