Added support of multiple email accounts