Emails are a very convenient way of sending information to other users or third parties. Odoo has a nice way of providing templates for emails with placeholders that will get filled in with information from the record to which the email is attached when the message is posted. Such templates can be used when manually sending an email, or when a message is sent automatically for instance through a server action.
In this recipe, we will define a mail template to notify a user of the library that they forgot to bring back some documents.