NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Template-based Contact Email Generation for Job Recommendation

Qiuchi Li, Christina Lioma2022

Abstract: Text generation has long been a popular research topic in NLP. However, the task of generating contact emails from recruiters to candidates in the job recommendation scenario has received little attention by the research community. This work aims at defining the topic of automatic email generation for job recommendation, identifying the challenges, and providing a baseline template-based solution for Danish jobs. Evaluation by human experts shows that our method is effective. We wrap up by discussing the future research directions for better solving this task.

Introduction

In the high-volume world of job recruitment, recruiters face a grueling manual task: writing personalized outreach emails to potential candidates. To be effective, these emails must be persuasive—explaining why the candidate is a good fit—and personalized, demonstrating that the recruiter has actually reviewed their profile.

While large-scale text generation is a prominent topic in NLP, recruitment emails present unique challenges. Standard templates often feel robotic, leading to low response rates, while fully automated neural models are prone to "hallucinating" details or failing to include the specific logic of why a candidate’s skills match a job description. This paper introduces a specialized system for automatically generating recruitment emails that are both persuasive and personalized by utilizing a sophisticated template-based approach with intelligent slot-filling.

Methodology

The researchers developed a Template-based Generation Algorithm to move away from purely "black-box" neural generation, which a pilot study found struggled with personalization and grammatical consistency in critical motivational sentences.

Figure 3: The system architecture for generating recruitment emails, showing the flow from candidate and job data to the final text generator.

As illustrated in the system architecture, the process involves several key stages:

  1. Template Parsing: A library of 270 general and 81 company-specific templates from the Jobindex portal was curated and annotated to identify functional structures and case-specific slots.
  2. Intelligent Slot Filling: The system uses Named Entity Recognition (NER) and the ESCO database (a taxonomy of over 129,000 skills) to find the intersection between a candidate's resume and job requirements.
  3. Motivational Sentence Construction: A rule-based engine takes matched skills and weaves them into a coherent sentence (e.g., "Because you have experience in [Skill A], you are a great fit...").
  4. Post-processing: A final pass ensures the email maintains human-written standards for punctuation and spacing.

Key Results and Evaluation

The system was evaluated through a user study with 10 professional recruiters, focusing on both efficiency and quality. The results were highly positive:

  • Efficiency Gains: The system saved recruiters an average of 56.64 seconds per email, representing a massive productivity boost for high-volume outreach.
  • Quality Parity: Generated emails received an average rating of 2.53/4, slightly higher than the 2.46/4 rating for standard manual templates.
Figure 4: Distribution of evaluation levels for generated messages, indicating that a majority of emails require only minor or no revisions.

As shown in the evaluation distribution, over 50% of the generated emails were rated as "satisfactory," requiring either no edits ("Perfect") or only minor revisions before being sent. This confirms the system's utility in real-world recruitment workflows.

Conclusion and Future Work

By using templates for the "shell" and targeted logic for the "core" motivational content, the researchers achieved better practical results than a pure AI approach. Future work aims to develop "hybrid" models that use neural generation specifically for the motivational sentences and move toward "deep matching" to identify candidates based on potential rather than just keyword overlap. While currently optimized for Danish, the methodology remains language-agnostic and highly scalable.

Summary updated

BibTeX
@misc{li2022template,
  author = {Qiuchi Li and Christina Lioma},
  title = {{Template-based Contact Email Generation for Job Recommendation}},
  year = {2022},
  doi = {10.18653/v1/2022.gem-1.15},
}
Figure