mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-05-04 22:50:54 +00:00
feat: add process_unread_days setting to email handler
This commit is contained in:
parent
c5ba82c861
commit
0eb6b3b4f3
5 changed files with 113 additions and 9 deletions
|
|
@ -24,6 +24,7 @@
|
|||
poll_mode: 'seconds',
|
||||
poll_interval_seconds: 15,
|
||||
poll_interval_cron: '*/2 * * * *',
|
||||
process_unread_days: 0,
|
||||
sender_whitelist: [],
|
||||
project: '',
|
||||
dispatcher_instructions: '',
|
||||
|
|
@ -194,6 +195,16 @@
|
|||
</div>
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
<div class="field-label">
|
||||
<div class="field-title">Process Unread (days)</div>
|
||||
<div class="field-description">On first run, process unread emails from the last N days. 0 = skip existing emails.</div>
|
||||
</div>
|
||||
<div class="field-control">
|
||||
<input type="number" x-model.number="handler.process_unread_days" min="0" placeholder="0" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="field">
|
||||
<div class="field-label">
|
||||
<div class="field-title">Sender Whitelist</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue