gotmail: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On Debian possible default full paths are:

/usr/bin/gotmail - from package: gotmail

You may install the required package with command apt-get install {package}
Error in other languages:
gotmail: bevel nie gevind nie
gotmail: comandă negăsită
gotmail: comando não encontrado
gotmail: commande introuvable
gotmail: command not found
gotmail: käsku ei ole
gotmail: không tìm thấy lệnh
gotmail: komanda nerasta
gotmail: Kommando nicht gefunden.
gotmail: kommandot finns inte
gotmail: komut yok
gotmail: nie znaleziono polecenia
gotmail: níor aimsíodh an t-ordú
gotmail: no se encontró la orden
gotmail: no s'ha trobat l'ordre
gotmail: opdracht niet gevonden
gotmail: parancs nem található
gotmail: perintah tidak ditemukan
gotmail: príkaz nenájdený
gotmail: příkaz nenalezen
gotmail: команда не найдена
gotmail: командата не е открита
gotmail: 命令找不到
gotmail: コマンドが見つかりません