feat: add account toggle, message dedup tracking, SMTP per-user and Gmail OAuth flow plan

Co-authored-by: christianlouis <361235+christianlouis@users.noreply.github.com>
Agent-Logs-Url: https://github.com/christianlouis/pop_puller_to_gmail/sessions/b77800ca-b452-4427-b0bf-63403e906916
This commit is contained in:
copilot-swe-agent[bot]
2026-03-25 11:20:22 +00:00
parent a1d258de01
commit a15216c630
6 changed files with 245 additions and 48 deletions
+5
View File
@@ -204,6 +204,11 @@ export const mailAccountsApi = {
return response.data;
},
async toggle(id: number): Promise<MailAccount> {
const response = await api.patch<MailAccount>(`/mail-accounts/${id}/toggle`);
return response.data;
},
async delete(id: number): Promise<void> {
await api.delete(`/mail-accounts/${id}`);
},