/plugin marketplace add UserAd/AgentMail/plugin install agentmail@agentmail-marketplaceDefined inline in plugin.json manifest
{
"Stop": [
{
"hooks": [
{
"type": "command",
"command": "agentmail status ready && agentmail receive --hook"
}
],
"matcher": ""
}
],
"SessionEnd": [
{
"hooks": [
{
"type": "command",
"command": "agentmail status offline"
}
],
"matcher": ""
}
],
"SessionStart": [
{
"hooks": [
{
"type": "command",
"command": "agentmail status ready && agentmail onboard"
}
],
"matcher": ""
}
],
"UserPromptSubmit": [
{
"hooks": [
{
"type": "command",
"command": "agentmail status work"
}
],
"matcher": ""
}
]
}{
"riskFlags": {
"touchesBash": false,
"matchAllTools": false,
"touchesFileWrites": false
},
"typeStats": {
"command": 4
},
"eventStats": {
"Stop": 1,
"SessionEnd": 1,
"SessionStart": 1,
"UserPromptSubmit": 1
},
"originCounts": {
"absolutePaths": 0,
"pluginScripts": 0,
"projectScripts": 0
},
"timeoutStats": {
"commandsWithoutTimeout": 4
}
}