<p>If configurations are the same and it's about the same server I'd say it's a server issue.</p>

<p>It might be correct to re-download the mails of the sent folder if, at the server side or locally, mails are deleted and re-added again and again (hence, they get affected new UID and the old ones are removed).</p>

<p>Since it's about the "sent" folder it might be that the server tries to <a href="http://tools.ietf.org/html/rfc5321#section-4.5.4">retry to send some mails</a> and reaffects UID each time. </p>

<p>You might want to check if the UID actually changed by tracking down the cache for this folder. If they change between sync, OfflineIMAP does the right thing and you have to contact the Gmail support.</p>

<p>May I ask how many working and failing accounts you have?</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/OfflineIMAP/offlineimap/issues/261#issuecomment-148913176">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AKFSEGEPed6Ju_4MbRHjqSIwpYwPcjr1ks5o8jUggaJpZM4GQsqW.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/OfflineIMAP/offlineimap/issues/261#issuecomment-148913176"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>