AI and End of Life
This article is not about Skynet and AI ending all life on Earth. š
I recently lost my mother. And my job. Itās been a stressful and difficult time, and something I had never really prepared for. I had lots of questions and tasks: managing her estate, dealing with her taxes, dealing with my taxes, organizing her contacts, planning a celebration of life, preparing to livestream the celebration, and even figuring out what I wanted to say for a eulogy.
As an AI enthusiast I instinctively turned to AI to help me navigate these many activities and challenges. I found AI to be an invaluable tool. Iām going to detail how I have been using it over the past few months to assist with end of life tasks.
Data Mining for Contacts šļø
As I began planning a celebration of life I wanted to make sure I invited all of my motherās friends and connections. She wasnāt very organized about her contacts and addressbookāsome were in her phone, some were in an email account she shared with my late father, and others were in her gmail account. Still more were scribbled on various notes throughout her office š¤¦āāļø.
She corresponded with many people who werenāt recorded in her contacts/addressbook, so I knew I needed to scan her emails to find email addresses of personal contacts. I exported and downloaded all of her emails from both accounts, and exported her iPhone contacts. Her MBOX files were gigabytes of data so I knew I couldnāt just upload them to ChatGPT and expect AI to data mine it for me.
Iāve been a Python developer since before the turn of the century, and itās one of my favorite tools for processing and transforming data. MBOX files and email headers arenāt that complicated to parse, but I wanted to experiment with AI and see if it could speed up my development process.
I asked ChatGPT for its help to write a Python script to process the MBOX files, look for email addresses and store them in a SQLite DB. I also wanted to record some contextual metadata with each occurrence of an email address. Was it from a sender or to a recipient? Were there telltale signs of a listserv in the email headers? How many interactions were there with each email address? I chose SQLite because itās simple and fast for querying the data (and I wasnāt yet sure what I wanted to query).
I then made a second script to process the SQLite DB and filter for email addresses that matched certain criteria. The script was able to parse a separate list of contacts from an addressbook CSV file, cross reference any email address with it and fill in the personās name if it wasnāt parsed from the email. And then it output a new CSV with each contact, their first and last name, how many occurrences were found, and whether the address was categorized as personal or listserv. The script also had some filtering parameters to limit the output to only personal addresses, or require a minimum number of occurrences.
Along the way I found discrepancies and anomalies in the output. I worked with ChatGPT to refine the scripts, for instance when I discovered a pattern of email addresses that were re-sent through yahoogroups.com
(eg: code>someone%40comcast.net@yahoogroups.com).
Eventually I arrived at a tool that worked pretty well for my needs. It was able to sort through gigabytes of data and arrive at a list of about 160 contacts which appeared to be real people with whom my mom had interacted with online over the past 25 years. This list became the basis for the invitations I would later send out for her celebration of life.
Iāve published my ContactsScraper on GitHub in case anyone else may find it useful.
Financial Planning šø
DISCLAIMER: Talk to your attorney and accountant/tax preparer. Do not rely on AI to make any legal or financial decisions.
I inherited a small IRA from my mother, so had lots of questions about what to do here. What is a required minimum distribution? How much is it? What would this do to my taxes? How much debt could I afford to pay off without bumping myself into another tax bracket? Can I afford a new roof for my house? ChatGPT helped me answer a bunch of these questions and model several different scenarios. Then I called my accountant and discussed my plans with her and she confirmed what I had modeled.
I provided as much specific information as I could about my finances and my motherās IRA to ChatGPT. Iām not going to post any of that information here or any of the results, for obvious reasons. However, I found this to be a valuable process.
As I iterated on the financial models new questions and considerations came to mind. How much interest am I paying on this chunk of credit card debt? How much in additional taxes will I pay by taking a larger IRA distribution, and how does that compare to the interest saved? What if I underpay my taxes? Below are some examples of prompts that I used to figure out how best to use this modest windfall.
Prompt 1: Basic IRA Withdrawal vs.Ā Credit Card Debt Tradeoff š¬
āI have an inherited IRA worth $100,000 and $50,000 in credit card debt at 19% interest. Iām considering taking a distribution from the IRA to pay off the debt. What are the tax consequences of taking out $50,000 in a single year? Should I spread the withdrawals over multiple years to reduce the tax impact?ā
Prompt 2: Modeling Partial Withdrawal Strategy š¬
āAssume Iām in the 22% federal tax bracket. If I take $25,000 from my inherited IRA this year and another $25,000 next year, how does that compare (in terms of taxes and interest saved) to taking the full $50,000 this year to eliminate my high-interest debt immediately?ā
Prompt 3: Safe Harbor and Withholding Adjustments š¬
āIf I take a $40,000 distribution from my inherited IRA and donāt adjust my withholding, could I owe an underpayment penalty? Whatās the safe harbor threshold for avoiding a penalty, and how might I adjust my estimated tax payments to stay in the clear?ā
This sort of financial modeling is something I usually try to do myself with spreadsheets. Depending on the complexity and my familiarity with the topic it might require an hour of research before I even start writing the spreadsheet. Then as I enter data and model the answer Iāll spend hours more tweaking the spreadsheet columns, cell formatting, formulas, and trying to build a model that would help me visualize and understand different financial scenarios.
In less than half the time it would have taken me to build a bunch of custom spreadsheets by hand ChatGPT helped me by generating charts and graphs, as well as asking clarifying questions that helped me provide better input. ChatGPT was like a financial planner that helped me get hands on with exploring various options.
Creative Support āļø
āA eugoogalizor, one who speaks at funerals. Or did you think Iād be too stupid to know what a eugoogoly was?ā ā Derek Zoolander
Iāve never written a eulogy before. I spoke at my dadās funeral but aside from an anecdote I had thought of the day before it was largely spontaneous and I didnāt write it down. I wanted to plan a more comprehensive and heartfelt eulogy for my motherās celebration of life.
Let me be clear: I did not use generative AI to write my momās eulogy. I did use it to give some broad examples of how to approach it, and what elements to incorporate. It helped me establish an outline and plan to fill 5-10 minutes of time. At a high level:
- Welcome & Thanks
- acknowledge out of town family and those who couldnāt be here
- special thanks to volunteers and key providers of support
- A Difficult Year
- talk about some of the struggles sheād been fighting through
- acknowledge her grace and cheerful disposition through it all
- Her Favorite Things
- talk about some of the decor and memorabilia and how it relates to her
- walk through the themes and give an anecdote or twoāaim for some levity
- Who She Was to Others
- mention her career and impact
- mention her volunteer work
- Personal Reflection
- talk about what she did for our family
- the values I learned from her
- how I will remember her
- Closing
- toast to her memory
- invite others to speak