Note that while it is possible to run Modmail with even less memory, Windows 10 itself recommend at least 2GB (4GB for Windows 11). This guide assumes the lowest threshold to comfortably run Modmail without possibly running into any resource bottleneck.
It is not recommended to run Modmail with previous versions of Windows such as Windows 7, 8, 8.1, or 10 as they no longer receive important security updates, making your hosted applications significantly more prone to security vulnerabilities.
To be able to create file named .env you must have the option to Hide extensions for known file types to OFF. It will not allow you to create a correctly named file with this set to on. (To turn it off, press the ... on the File Explorer options bar, then Options, then View, and finally uncheck the option.)
Create a new file in the modmail folder named .env and paste in your environmental variables needed to run Modmail. Refer to the steps in the parent Installation page to find where to obtain these.
Lastly, in your PowerShell window simply enter the command below to run your Modmail bot:
If no error shows up, it means that your Modmail is now running correctly.