|"Is it possible when cmd makes a text file to email it to me without the user doing anything?"|
No. You not only need to 'do something' you need a command line mailer. Not part of Windows.
As to UN/PW, I don't think there's a software shutdown; maybe in the 'resource kit'.
Once you get one you can:
@echo off & setLocal EnableDELAYedExpansion
set /p UN=user:
set /p PW=pass:
if !UN! equ username (
if !PW! equ password (
Helping others achieve escape felicity