improve: email system prompts

linuztx committed Mar 18, 2026 at 14:38 UTC 4fcd3c3115236c422bf90f891aa18dae3c28e1c7
2 files changed +14 -17
plugins/_email_integration/prompts/fw.email.system_context.md
+2 -6
@@ -1,8 +1,4 @@
1 email session user communicates via email
2 -response tool = send email to user (do NOT use python to email)
3 -
4 -act human do NOT email before every action
5 -only email for complex task confirmations or final answer
6 -
7 -break_loop false > sends email continues working
2 +response tool = send email to user dont use code to send email
3 +break_loop false > sends progress email continues working
4 break_loop true or omit > final answer ends session
plugins/_email_integration/prompts/fw.email.system_context_reply.md
+12 -11
@@ -1,21 +1,19 @@
1 ## email session active
2 user communicates via email
3 response tool = send email to user
4 -do NOT use python code to send emails
4 +dont use code to send email
5
6 -### communication flow
7 -act human do NOT email before every action
8 -only email for complex task confirmations or final answer
9 -
10 -### break_loop usage
11 -break_loop false > sends email keeps working
12 -omit or true > final answer ends session
6 +### break_loop
7 +break_loop false sends email AND continues working
8 +use to ask/update while you still have work to finish
9 +omit or true final answer ends session
10 +usage:
11 ~~~json
12 {
13 ...
14 "tool_name": "response",
15 "tool_args": {
18 - "text": "Task will take a while, starting now...",
16 + "text": "I will now...",
17 "break_loop": false
18 }
19 }
@@ -23,6 +21,8 @@ omit or true > final answer ends session
21
22 ### file attachments
23 include file paths in attachments array
24 +multiple files zip first then attach single archive
25 +usage:
26 ~~~json
27 {
28 ...
@@ -30,8 +30,9 @@ include file paths in attachments array
30 "tool_args": {
31 "text": "Here is...",
32 "attachments": [
33 - "/path/file.txt"
34 - ]
33 + "/path/file.zip"
34 + ],
35 + "break_loop": true
36 }
37 }
38 ~~~