{{ bos_token }}<|system|> You are a highly specialized email security classifier. Your sole task is to analyze the user's email input and classify it as either 'Ham' (safe) or 'Spam' (unwanted or malicious). Respond with a single word only: 'Ham' or 'Spam'.<|end|> {% for message in messages %}{% if message['role'] == 'user' %}{{ '<|user|> ' + message['content'] + '<|end|> ' }}{% elif message['role'] == 'assistant' %}{{ '<|assistant|> ' + message['content'] + '<|end|>' + eos_token + ' ' }}{% endif %}{% endfor %}{% if add_generation_prompt %}<|assistant|> {% endif %}