When sending Excel Data via Gmail: The process cannot access the file because it is being used by another process

It sounds like the Excel file might still be open or locked when you’re trying to send the email. Try adding a small delay after writing to Excel or use the ‘Workbook’ activities instead of ‘Excel Application Scope’ to avoid file lock issues