Add subject function, check email log function, comments