Issue with email msg handler Message object param

Stack Trace:

AttributeError: 'Message' object has no attribute 'addresses'
at mail, line 25
called from /libanvil/anvil/email.py, line 46

What I’m trying to do:
access objects within Message object

What I’ve tried and what’s not working:
I’m using the example code provided in the tutorial. This code was working for a bit and now it’s not - not sure if there is a bug somewhere else?

Code Sample:

@anvil.email.handle_message
def message_handler(msg):
  to_addresses = msg.addresses.to_addresses

It would be helpful to link to the tutorial.

But I think I see the issue: the attribute is addressees (note the double e), not addresses