Inspiration

Often I want the tone of my emails to be different. I will sometimes write something in a hurry, or maybe I know I sound angry in the email, but I'd rather sound more friendly.

What it does

RefiMail takes an email and a chosen tone, and refines the email into that chosen tone.

How we built it

We used S3 buckets for our lambda triggers, so when the email was uploaded to the input S3 bucket from the backend, the lambda function would call Bedrock and save the refined email in an output S3 bucket. The output S3 bucket is extracted from the backend, passed to the frontend, and then displayed.

Challenges we ran into

A majority of the technologies used were new to me, like Lambda, Flask, Bedrock, and S3. The biggest problem I had was with Flask. I've used the "live server" extension on VS Code before, but I didn't know it only works with static pages. So I had a massive problem with my API endpoints linking up correctly because one, I had multiple different start files, and two, I was supposed to write python -m http.server in my terminal to open up a server that actually allowed the use of multiple API endpoints.

Accomplishments that we're proud of

I'm proud of learning about the technologies I used and applying them.

What we learned

I learned a lot! I learned how Lambda, Bedrock, S3, and Flask work, even if they were used in this simple example program.

What's next for RefiMail

I plan to learn React and Tailwind, then implement them into the frontend of this project and make it look a lot better.

Built With

Share this project:

Updates