init for email and logger lib's