added gmail config
added production configs
add flash message