Implemented attachment sending for emails - added test cases to test the same