import datetime messages = { "register": { "subject": "Successfully registered!", "body": "Congratulations! Your account has been successfully created.\nThis mail also serves as a test that the email address is correct" }, "login": { "subject": "New Login detected!", "body": "A new login token has been created" }, "logout": { "subject": "Successfully logged out", "body": "A login has been revoked. No further action is needed." }, "update": { "subject": "Account updated", "body": "Your account has been successfully updated. This also means you have been logged out of everywhere" }, "delete": { "subject": "Account Deleted!", "body": "Your account has been deleted. No further action needed" } }