bug fixed for email boxes