@mcinteerj/openclaw-gmail 1.6.0 → 1.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/outbound.ts +1 -1
package/package.json
CHANGED
package/src/outbound.ts
CHANGED
|
@@ -153,7 +153,7 @@ export async function sendGmailText(ctx: GmailOutboundContext) {
|
|
|
153
153
|
?? true;
|
|
154
154
|
if (isThread && archiveOnReply) {
|
|
155
155
|
// Best effort archive
|
|
156
|
-
client.
|
|
156
|
+
client.modifyThreadLabels(toValue, { remove: ["INBOX"] }).catch((err) => {
|
|
157
157
|
console.error(`Failed to archive thread ${toValue}: ${err instanceof Error ? err.message : String(err)}`);
|
|
158
158
|
});
|
|
159
159
|
}
|