getting mail to work
with redirect