- Runtime: Python 3.9
Runs spamassassin on a single email body. The parsed headers are returned.
Input event:
{
"body": "<raw email body>"
}
Response:
{
"isSpam": boolean,
"score": float,
"threshold": float,
"tests": [
'test1',
'test2',
...
]
}