Disable Template Cache

Add following code in your config.php to disable the Template Cache

'template' => [
    'forceCompile' => true,
],

Configure SMTP in config.php

'mail' => [
    'type'     => 'smtp', // Possible values: 'mail', 'smtp', 'file'
    'host'     => 'localhost',
    'port'     => 587,
    'ssl'      => 'tls', // Possible values: '', 'tls', 'ssl'
    'auth'     => 'login',  // Possible values: 'plain', 'login', 'crammd5'
    'username' => 'me@localhost',
    'password' => 'mypassword'
],

Redis

When you use Redis for Session and Cache, you must use different databases for each. Otherwise, when you delete your Cache, you will also wipe all your sessions!