Hi Averma,
It's really great to see that you are trying to automate one of the most usual and frequent scenarios, which however might prove challenging for many of us!
Sometimes, we don't even know how many files we want to send, or the sizes of those and our flows should include more "logic" inside to make them more self autonomous. Your solution is based on the knowledge of the number of files. However, this might change in the future.
I would suggest to do the following instead.
1. Use the Get Files in Folder which will create your FilesSource
2. Set up some variables for AttachmentSizeLimit, CurrentSizeLimit where you will keep the max attach size and the current attach size to compare
3. Create a new List that will hold the files to be attached (empty in the beggining)
Since you have all those you can:
1. Use the For Each loop, to iterate through the Files
2. Use If inside the For Each loop to check whether the SizeLimit > CurrentSize
a. If YES then increase CurrentSize by adding the current File.size, then add the file in the AttachList
b. If NO then send EMAIL and in the attachments edit box, just select the List you have filled above and after that action, insert also the "Clear List" and "Set Variable" (CurrentSize) back to 0 (zero).
And since we are in the ELSE (NO) section, meaning that we are currently having a File to put somewhere, you can start again increasing the CurrentSize as well as adding the current file to list.
I've attached a possible screenshot of how the flow could look like, but there is a lot room for improvement, since I don't cover the last iteration where the last file would not be sent. In that case you could use a new variable to keep the iteration and compare it with the Files.Count property. If those are equal, then you'll have the last file that you can send alone 🙂

Let me know if that helps a bit 🙂
Thanks,
George