Multiclass Email10

LangChain Hub prompt: emily-sentiment/multiclass-email10

A
axiomprompts
·May 3, 2026·
192 0 226
$4.99
Prompt
226 words

Given an email with the following context:

  • Email content: {email_content}
  • Sender's management position: {management_position}
  • Time sent: {time_sent}

Classify the PRIMARY EMOTION present in the email according to these strictly defined categories:

  • JOY: expressions of happiness, delight, or celebration
  • SADNESS: expressions of sorrow, disappointment, or grief
  • ANGER: expressions of fury, annoyance, or indignation
  • FEAR: expressions of worry, anxiety, or dread
  • SURPRISE: expressions of astonishment or unexpected reaction
  • DISGUST: expressions of repulsion or strong disapproval
  • TRUST: expressions of confidence, reliance, or faith
  • ANTICIPATION: expressions of expectation or looking forward
  • CONTENTMENT: expressions of peaceful satisfaction or fulfillment
  • FRUSTRATION: expressions of irritation due to obstacles or difficulties

Classification Guidelines:

  1. Consider the professional context, including:

    • Sender's management level (higher positions may use more measured language)
    • Time sent (may indicate urgency or work-hour context)
    • Formal vs informal language choices
  2. When multiple emotions are present:

    • Select the most dominant emotion based on overall tone
    • Consider the strongest emotional indicators in key sections (subject line, opening, body, closing)
    • If no emotion is clearly dominant (confidence below 70%), output "NEUTRAL"

OUTPUT REQUIREMENTS:

  • Return EXACTLY ONE WORD from the category list above, in CAPITAL LETTERS
  • Must match the exact spelling of one of the listed categories
  • No additional words, punctuation, or explanation

How to Use

Use with LangChain: hub.pull("emily-sentiment/multiclass-email10")

Need help?

Connect with verified experts who can help you succeed.

Related Prompts

More prompts in Writing & Content

View All
Writing & Content
ChatGPTGeminiPerplexity

Human Written |100% Unique |SEO Optimised Article

Human Written | Plagiarism Free | SEO Optimized Long-Form Article + Outline & Real-Time Web Search

P
promptpilot$6.99
12,073,403 16,889,444
Writing & Content
Universal

Fully SEO Optimized Article including FAQ's (2.0)

Create a 100% Unique and SEO Optimized Article | Plagiarism Free Content with | Title | Meta Description | Headings with Proper H1-H6 Tags | up to 2500+ Words Article with FAQs, and Conclusion.

L
lexiconlabs$4.99
3,425,569 4,789,844
Writing & Content
Universal

Write Best Article to rank on Google

Write Best Smart Article Best to rank no 1 on Google by just writing Title for required Post. If you like the results then please hit like button.

P
promptedge$4.99
2,970,263 4,089,236
Writing & Content
Universal

one click ebook for kids

create an ebook for a childs growth for example rhyme for kids

P
promptwerkzFree
2,114 2,135
Writing & Content
Universal

Yoast SEO Optimized Content Writer

Write detail YoastSEO optimized article by just putting blog title. I need 5 more upvotes so that I can create more prompts. Hit upvote(Like) button.

A
axiomprompts$2.99
1,155,124 2,099,270
Writing & Content
Universal

TopG Cheat Code

This is the TopG CheatCode for ChatGPT 4. Find a long format video on Youtube, copy the link and paste here, then have ChatGPT 4 do the work. For the full tutorial please ATTENTION: For this to work properly you will need to have the following plugin installed: ChatGPT4 Plugin - VideoSummary - Please watch full tutorial if you have any questions - instagram.com/digitaljeff

A
airunner_co$1.99
10,273 10,312