Redirecting emails based on set conditions