Inspiration

We all have immigrant parents or grandparents who have asked us to help read out a bill or some mail to them and explain what it means.

Some of us also have grandparents who experience cognitive decline through conditions like dementia. One of our grandparents recently almost fell victim to a bill mailing scam.

We want to help others stay safe from scammers who try to target these weaknesses, while also helping them take care of their financial responsibilities. We hope that our tool helps alleviate a blocker that many Americans and immigrants face.

What it does

Our tool is an AI-powered security and accessibility layer that transforms any photo of a confusing paper bill or letter into a simple, plain-language audio explanation in your own language.

We protect you from financial fraud and scams using independent LLMs and a firewall. We use Gemini vision models to read and parse images and PDFs.

We then use a guardrail built on Python to intercept scams. This guardrail is hardcoded taking FTC scam guidelines, valid due dates, and merchant matching to filter out scams.

We then use a Gemini text and speech model to give a simple summary. A system prompt ensures that a 6th grader can understand the response and the response is capped at 120 words. We also allow users to ask follow up questions using microphone or text input.

We allow valid bills to be paid using Nessie API integration to log mock transactions. There is no automatic payment and users must tap to authorize a payment. Once paid, we show the user's updated account balance on the screen. If a user does not want to pay immediately, we send a reminder using an .ics file that can be integrated into any calendar app.

How we built it

We first planned out user pain points and designed architecture. We do not have a tech savvy user base, so we had to be careful integrating AI.

We intentionally separated the user-facing AI explanation layer from the financial execution layer, ensuring that the AI has zero tools or bank access.

Because our users rely on simplicity and trust, every interaction had to feel intuitive and safe. We added large tap targets, simplified wording, no automatic payments, and explicit human confirmation before a single cent moves.

We built the interface as an installable PWA with high-contrast mode, multi-language support, and read-aloud capabilities so that accessibility was never an afterthought. On the backend, we paired Google Gemini's vision and language models with a deterministic Python safety gate and Capital One's Nessie API.

Challenges we ran into

Defending Against Indirect Prompt Injection: Scammers can hide invisible or tiny text inside fake mail instructing an AI assistant to ignore rules and wire funds. Solving this meant completely stripping tool access from our vision model and ensuring zero free text ever crosses from the AI to the payment module.

Handling Schema & Field Limits: While Gemini supports structured JSON outputs, enforcing strict string length limits and field structure required pairing Gemini with Pydantic v2 strict validation and custom Python length checks.

Mobile Camera & Banking Protocols: Phone browsers block plain HTTP calls and require HTTPS to access the device camera, while the Nessie sandbox runs over HTTP. We solved this by routing all Nessie API calls exclusively through our FastAPI backend and exposing the app over an encrypted HTTPS tunnel.

Accomplishments that we're proud of

We are most proud of supporting 9 interface languages with native Arabic right to left support, multilingual read-aloud audio, and plain-language explanations without sacrificing security.

What we learned

Never Give One Agent Both Vision and Money: Combining untrusted visual inputs with financial tool execution in a single LLM is a fundamental security vulnerability.

Accessibility is Security: Seniors and non-native speakers don't fall for scams because they are careless. We can help them avoid panicking due to unclear wording and formatting

What's next for Guarded Mail

We want to roll out simple cloud hosting for our tool so that our families and their friends can test out our tool from all over the world. Having their feedback would help us modify our design if needed and find out what works well

Built With

Share this project:

Updates

Submission history