fix email download bug due to get_or_create fails on duplicates sometimes
fix indentation
fix get_or_create use in email client to use defaults for changeable data
silence SQL access debug log