setting the environment variable for mail.
add unlocks controller.
setting locale for passend.