How to avoid sending extra emails for multi-page form