use coloredlogs optionally
Mail State Machine refactor. Closes: #4059
changes file
Merge remote-tracking branch 'kali/feature/refactor-mail-connections' into develop