add script

for now, to get the pass policy
cosmetics
add MailSender
test mailing
constants, logs and encoder now is a bean
same flows (create, forgot) - also in the client app
bugfix