Any invoice that is unpaid. could we set it up that an email automatically goes out after 7 days

Any invoice that is unpaid. could we set it up that an email automatically goes out after 7 days