You can configure Remote Desktop Services (formerly known as Terminal Services) to disconnect and/or end sessions based on timings of your choice. A Microsoft forum entry describes the various settings and options available.
Send Veeam notifications via 365
With the advent of more "modern" and secure authentication methods being demanded by the main email service...