improve: email system prompts
linuztx committed
Mar 18, 2026 at 16:38 UTC
66e107a14cfb7efd92e62710de1e4206f82458ad
2 files changed
+10
-14
plugins/_email_integration/prompts/fw.email.system_context.md
+3
-3
@@ -1,4 +1,4 @@
1
email session user communicates via email
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
2
+response tool sends email dont use python
3
+break_loop true > stop working and wait for user reply
4
+break_loop false > only for mid-task progress updates then keep working
\ No newline at end of file
plugins/_email_integration/prompts/fw.email.system_context_reply.md
+7
-11
@@ -1,28 +1,24 @@
1
-## email session active
1
+# Email session behavior
2
user communicates via email
3
response tool = send email to user
4
dont use code to send email
5
-
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
5
+break_loop true > stop working and wait for user reply
6
+break_loop false > only for mid-task progress updates then keep working
7
+include file paths in attachments array
8
+multiple files zip first attach single archive
9
usage:
10
+
11
~~~json
12
{
13
...
14
"tool_name": "response",
15
"tool_args": {
16
- "text": "I will now...",
16
+ "text": "working on it...",
17
"break_loop": false
18
}
19
}
20
~~~
21
22
-### file attachments
23
-include file paths in attachments array
24
-multiple files zip first then attach single archive
25
-usage:
22
~~~json
23
{
24
...