this repo has no description

feat: add new emails and filter direct admission marketing

Added 2 new emails from 2025-12-11 export:
- Cedarville scholarship opportunity (approved - specific application)
- Cornerstone direct admission marketing (filtered)

Updated classifier to exclude "direct admit/admission" emails that
ask to complete a profile (marketing, not actual acceptance).

Test results: 100% accuracy on all 67 labeled emails.

💘 Generated with Crush

Assisted-by: Claude Sonnet 4.5 via Crush <crush@charm.land>

dunkirk.sh 39bb5fbd 5cfcf00b

verified
+33
data/college_emails_export_2025-12-11.json
···
+
{
+
"exported_at": "2025-12-11T01:22:25.866Z",
+
"total_count": 2,
+
"label": "College",
+
"emails": [
+
{
+
"thread_id": "19b09fb209d1d8ac",
+
"subject": "Time to Submit Your Direct Admit Student Profile",
+
"from": "Colleen from Cornerstone <admissions_at_cornerstone.edu_jkgwnjk4@duck.com>",
+
"to": "jkgwnjk4@duck.com",
+
"cc": "",
+
"date": "2025-12-10T20:36:47.000Z",
+
"body": " Hi Kieran,\r\n\r\n As you consider what your future college plans could look like, what's important to you?\r\n\r\n There are many opportunities for you to make connections and memories that last at Cornerstone University. From hands-on academics to a vibrant campus community <https://www.cornerstone.edu/student-life/on-campus-experience/?utm_campaign=sr-prosp_apply_fa26&utm_content=email_11&utm_medium=email&utm_source=connect>, we want you to be a part of what makes Cornerstone a college destination of choice!\r\n\r\n At Cornerstone, there's room for you to dig deep into what you're passionate about and grow in new ways. You can apply what you learn through a faith-based lens and step into the world well-equipped to succeed in your future career.\r\n\r\n Your direct admission offer is still available! As your next step, complete your Direct Admit Student Profile <http://www.cornerstone.edu/direct-admission?utm_campaign=sr-prosp_apply_fa26&utm_content=email_11&utm_medium=email&utm_source=connect> below. \r\n\r\n\r\nComplete My Profile <https://www.cornerstone.edu/direct-admission?utm_campaign=sr-prosp_apply_fa26&utm_content=email_11&utm_medium=email&utm_source=connect>\r\n\r\n I'd love to connect you with an admissions counselor to help answer your questions. Please reply to this email or call our Admissions Office at 616.222.1426. \r\n\r\n\r\n​Blessings,\r\nColleen Cox, B.S. '10, MBA '19\r\n Executive Director of Admissions\r\n​\r\n\r\n\r\n\r\n ​Contact Us <https://www.cornerstone.edu/about/contact/?utm_campaign=sr-prosp_apply_fa26&utm_content=email_11&utm_medium=email&utm_source=connect>\r\n\r\nVisit Campus <https://www.cornerstone.edu/admissions/visit-cornerstone/?utm_campaign=sr-prosp_apply_fa26&utm_content=email_11&utm_medium=email&utm_source=connect>\r\n\r\nApply Now <https://www.cornerstone.edu/admissions/apply/?utm_campaign=sr-prosp_apply_fa26&utm_content=email_11&utm_medium=email&utm_source=connect>\r\n\r\n\r\n\r\n\r\n Copyright © 2025, Cornerstone University\r\n 1001 E Beltline Ave NE, Grand Rapids, MI 49525 \r\n\r\n\r\n\r\n\r\n\r\n​\r\n\r\n\r\nThis email was sent to jkgwnjk4@duck.com by Colleen from Cornerstone.\r\nCornerstone University, 1001 E Beltline Ave NE, Grand Rapids, MI 49525\r\nUnsubscribe from Cornerstone University. <https://connect.cornerstone.edu/go?r=optout&mid=417a48b0-3fa2-48d2-89bd-a8de12d028ee&utm_campaign=sr-prosp_apply_fa26&utm_content=email_11&utm_medium=email&utm_source=connect>\r\n",
+
"labels": [
+
"College"
+
],
+
"is_in_inbox": true
+
},
+
{
+
"thread_id": "19b05079ab8e80cc",
+
"subject": "Apply for the President's Ministry Impact Scholarship",
+
"from": "Cedarville University <admiss_at_cedarville.edu_6iwrnvqi@duck.com>",
+
"to": "\"college@kieranklukas.com\" <college_at_kieranklukas.com_6iwrnvqi@duck.com>",
+
"cc": "",
+
"date": "2025-12-09T21:32:18.000Z",
+
"body": "Kieran,\r\n\r\n\r\n\r\n If you have a parent who is in full-time ministry at a church, Christian school, camp, or other parachurch organization, you qualify to apply for the President's Ministry Impact Scholarship <https://www.cedarville.edu/financialaid/President-s-Ministry-Impact-Scholarship> at Cedarville University. This scholarship celebrates Cedarville's strong support of the local church and those who invest their lives in full-time vocational ministry. \r\n\r\n Students who are selected for the scholarship may be awarded up to $7,000, which is renewable for all four years if you meet academic requirements. \r\n\r\n If you fit the criteria for this scholarship, go online <https://www.cedarville.edu/financialaid/President-s-Ministry-Impact-Scholarship> to learn more about this scholarship and apply. The application deadline is February 15, 2026. \r\n\r\n\r\n\r\n\r\n\r\n   \r\n\r\n   \r\nFollow Us on Social\r\n\r\n\r\n   \r\n\r\n\r\nThis email was sent to college@kieranklukas.com by Cedarville University.\r\nUnsubscribe from Cedarville University Undergraduate Emails. <https://connect.cedarville.edu/go?r=optout&mid=1502523f-c869-49b6-b6a3-b78b41bbefed>\r\n",
+
"labels": [
+
"College"
+
],
+
"is_in_inbox": true
+
}
+
]
+
}
+36 -2
data/labeled-emails.json
···
{
-
"exported_at": "2025-12-09T16:16:41.528Z",
-
"total_count": 65,
+
"exported_at": "2025-12-11T01:22:25.866Z",
+
"total_count": 67,
"label": "College/Auto",
"emails": [
{
···
"reason": "spam email",
"labeled_at": "2025-12-09T16:14:27.186Z",
"confidence": "high"
+
},
+
{
+
"thread_id": "19b09fb209d1d8ac",
+
"subject": "Time to Submit Your Direct Admit Student Profile",
+
"from": "Colleen from Cornerstone <admissions_at_cornerstone.edu_jkgwnjk4@duck.com>",
+
"to": "jkgwnjk4@duck.com",
+
"cc": "",
+
"date": "2025-12-10T20:36:47.000Z",
+
"body": " Hi Kieran,\r\n\r\n As you consider what your future college plans could look like, what's important to you?\r\n\r\n There are many opportunities for you to make connections and memories that last at Cornerstone University. From hands-on academics to a vibrant campus community <https://www.cornerstone.edu/student-life/on-campus-experience/?utm_campaign=sr-prosp_apply_fa26&utm_content=email_11&utm_medium=email&utm_source=connect>, we want you to be a part of what makes Cornerstone a college destination of choice!\r\n\r\n At Cornerstone, there's room for you to dig deep into what you're passionate about and grow in new ways. You can apply what you learn through a faith-based lens and step into the world well-equipped to succeed in your future career.\r\n\r\n Your direct admission offer is still available! As your next step, complete your Direct Admit Student Profile <http://www.cornerstone.edu/direct-admission?utm_campaign=sr-prosp_apply_fa26&utm_content=email_11&utm_medium=email&utm_source=connect> below. \r\n\r\n\r\nComplete My Profile <https://www.cornerstone.edu/direct-admission?utm_campaign=sr-prosp_apply_fa26&utm_content=email_11&utm_medium=email&utm_source=connect>\r\n\r\n I'd love to connect you with an admissions counselor to help answer your questions. Please reply to this email or call our Admissions Office at 616.222.1426. \r\n\r\n\r\n​Blessings,\r\nColleen Cox, B.S. '10, MBA '19\r\n Executive Director of Admissions\r\n​\r\n\r\n\r\n\r\n ​Contact Us <https://www.cornerstone.edu/about/contact/?utm_campaign=sr-prosp_apply_fa26&utm_content=email_11&utm_medium=email&utm_source=connect>\r\n\r\nVisit Campus <https://www.cornerstone.edu/admissions/visit-cornerstone/?utm_campaign=sr-prosp_apply_fa26&utm_content=email_11&utm_medium=email&utm_source=connect>\r\n\r\n\r\n\r\n\r\n",
+
"labels": [
+
"College"
+
],
+
"is_in_inbox": true,
+
"pertains": false,
+
"reason": "direct admission marketing where student hasn't applied",
+
"confidence": "high",
+
"labeled_at": "2025-12-11T01:30:00.000Z"
+
},
+
{
+
"thread_id": "19b05079ab8e80cc",
+
"subject": "Apply for the President's Ministry Impact Scholarship",
+
"from": "Cedarville University <admiss_at_cedarville.edu_6iwrnvqi@duck.com>",
+
"to": "\"college@kieranklukas.com\" <college_at_kieranklukas.com_6iwrnvqi@duck.com>",
+
"cc": "",
+
"date": "2025-12-09T21:32:18.000Z",
+
"body": "Kieran,\r\n\r\n\r\n\r\n If you have a parent who is in full-time ministry at a church, Christian school, camp, or other parachurch organization, you qualify to apply for the President's Ministry Impact Scholarship <https://www.cedarville.edu/financialaid/President-s-Ministry-Impact-Scholarship> at Cedarville University. This scholarship celebrates Cedarville's strong support of the local church and those who invest their lives in full-time vocational ministry. \r\n\r\n Students who are selected for the scholarship may be awarded up to $7,000, which is renewable for all four years if you meet academic requirements. \r\n\r\n If you fit the criteria for this scholarship, go online <https://www.cedarville.edu/financialaid/President-s-Ministry-Impact-Scholarship> to learn more about this scholarship and apply. The application deadline is February 15, 2026. \r\n\r\n\r\n\r\n\r\n\r\n \r\n\r\n \r\nFollow Us on Social\r\n\r\n\r\n \r\n\r\n\r\nThis email was sent to college@kieranklukas.com by Cedarville University.\r\nUnsubscribe from Cedarville University Undergraduate Emails. <https://connect.cedarville.edu/go?r=optout&mid=1502523f-c869-49b6-b6a3-b78b41bbefed>\r\n",
+
"labels": [
+
"College"
+
],
+
"is_in_inbox": true,
+
"pertains": true,
+
"reason": "specific scholarship application opportunity",
+
"confidence": "high",
+
"labeled_at": "2025-12-11T01:30:00.000Z"
+4
src/classifier.ts
···
if (/\bacceptance\s+rate\b|\bhigh\s+acceptance\b|\bpre[- ]admit(ted)?\b|\bautomatic\s+admission\b/.test(combined)) {
return null;
}
+
// Exclude "direct admit/admission" marketing that asks to complete profile
+
if (/\bdirect\s+(admit(ted)?|admission)\b.*\b(complete|submit).*\bprofile\b|\b(complete|submit).*\bprofile\b.*\bdirect\s+(admit(ted)?|admission)\b/.test(combined)) {
+
return null;
+
}
// Exclude marketing about future admission decisions
if (/\byou\s+will\s+(also\s+)?receive\s+(an?\s+)?(accelerated\s+)?admission\s+decision\b/.test(combined)) {
return null;