Fix Email attachments when using Swift instead of Objective C

Change extension property to fileExtension since extension is a reserved keyword in Swift