Skip to content

In this project, email body text, subject lines, importance status, and other relevant email details are scraped using python IMAP library. This data is then used to train a recurrent neural network to automatically generate subject line of emails based on body text.

License

Notifications You must be signed in to change notification settings

clkride/Email_Subject_Generator_Using_NLP

Repository files navigation

Bitbucket open issues GitHub commit activity GitHub contributors GitHub watchers GitHub Repo stars GitHub

Email_Subject_Generator_Using_NLP

This Python-based project offers a valuable solution for extracting and analyzing email data, with potential for diverse use cases in email analytics and natural language processing. The resulting DataFrame provides a wealth of information for investigating and comprehending email communication trends, which can inform the development of more sophisticated and efficient email systems.

Table of Contents

About Data Set

The dataset consists of a collection of email messages that have been scraped from email inboxes. The dataset includes both the email body and subject lines text of the messages. For security purposes, the dataset cannot be shared. However, the dataset is expected to be representative of typical email messages and subject lines that one might find in an email inbox. The messages may include a variety of topics, including business, personal, social, and promotional messages.

(back to top)

Project Description

In this project I have used a pre-trained model namely T5 and used instruction fine tuning to achieve effective results for this subject generation task.

(back to top)

Modeling Approach

(back to top)

Model Performance

(back to top)

Author

@Abbas S.

License

The MIT License (MIT)

Copyright (c) 2023 Abbas Singapurwala

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

(back to top)

Acknowledgments

Inspiration, code snippets, etc.

(back to top)

About

In this project, email body text, subject lines, importance status, and other relevant email details are scraped using python IMAP library. This data is then used to train a recurrent neural network to automatically generate subject line of emails based on body text.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published