Email, calendaring, and database, fundamentally. There was quite a lot of application development in the Notes API back in the day. There were a lot of business critical apps running on it for a lot of folks, once upon a time.
Thanks! I thought Notes was just for messaging. Once upon a time, it was as good as it got.