mail-invite script